crontab执行定时任务并导入报错日志
每天工作日下午五点执行
0 17 * * 1,2,3,4,5 /data/venv/bin/python /home/hu-ht/day/send_email.py>>/home/hu-ht/day/send_email.py.log 2>&1
每周四凌晨0点执行
0 0 * * 4 /data/venv/bin/python /home/hu-ht/week/week.py>>/home/hu-ht/week/week.py.log 2>&1
每个月一号凌晨0点执行
0 0 1 * * /data/venv/bin/python /home/hu-ht/month/month.py>>/home/hu-ht/month/month.py.log 2>&1