我在crontab中添加一条定时任务如下,用于每天把旧日志移到指定目录:. 0 0 * * * cd /home/vg/odp/log && mv *`date -d "-10 day" "+%Y%m%d"`* ...
確定! 回上一頁