在本地服务器上配置定时任务:
crontab -e
01 0 * * * /root/shell/download_data.sh >/tmp/cron.log 2>&1 10 0 * * * /root/shell/sync_file.sh >/tmp/cron.log 2>&1 0 1 * * * /root/shell/delete_expired_file.sh >/tmp/cron.log 2>&1