linux定时执行
Posted 猪啊美
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux定时执行相关的知识,希望对你有一定的参考价值。
crontab -e添加定时任务
crontab -l 展示定时任务
service crond stop 停止服务
service crond start 开始服务
service crond status 查看运行状态
*/1 * * * * python /1601F/wang/fang.py >> /1601F/wang/fang.txt
从左到右 分钟,小时,天,月,周
以上是关于linux定时执行的主要内容,如果未能解决你的问题,请参考以下文章