crontab命令中使用date

00 07 * * * (cd /da2/xxx/yyy; sh run.sh &> log/`date +"\%Y-\%m-\%d"`.log)

posted @ 2020-07-13 15:08  米小粥  阅读(589)  评论(0)    收藏  举报