自动运行python程序 /etc/ctontab #文件位置 * * * * * python dindian.py > dindian.log 重启crond服务 service crond restart 查看当前运行程序 ps aux|grep python 杀掉进程 dkfjalk kdfdfjkj;adksj ;adksj