crontab 定时任务python脚本不执行解决办法之一

将python换成

0 0 * * * /usr/local/bin/python3 your_script.py # 每日0:00执行脚本

 

你可能感兴趣的:(Python,linux)