crontab的使用

来源:互联网 发布:cocos2dx v3.10 mac 编辑:程序博客网 时间:2024/05/29 05:09
chkconfig --list |grep crond
ps aux|grep crond


一般情况,系统定时任务都会跟系统一起开机启动。
service crond restart


chkconfig crond on
#crontab [选项]
选项:
-e 编辑crontab定时任务
-l 查询crontab任务
-r 删除当前用户所有crontab任务


*****command






注意:
%在定时任务,必须加\转义符
系统定时任务,有时候会判断系统繁忙情况,错开系统繁忙时间,而延时执行。
0 0
原创粉丝点击