crontab 发表于 2018-07-09 | commands: crontab -l crontab -e set up:10 2 * * * sh /home/test/scripts/test.sh `date --date='-1 day' +%Y-%m-%d` > /home/test/logs/test.log 2>&1