定时运行脚本

crontab -e


0 0 * * * /root/PycharmProjects/nginxdj.sh

crontab -l

原文地址:https://www.cnblogs.com/jingzaixin/p/13426976.html