我正在设置 rsync cron 每小时运行一次以同步 2 个服务器。我的问题是如何使保存的日志文件名以log_file-{Year}-{Month}-{Date}.log年、月、日的格式进行相应更改?
log_file-{Year}-{Month}-{Date}.log
提前致谢。
redhat rsync cron
cron ×1
redhat ×1
rsync ×1