本文共 553 字,大约阅读时间需要 1 分钟。
* 1、crond 服务 * /etc/init.d/crond {start|stop|status|restart|condrestart|try-restart|reload|force-reload} * 2、开机自启动 * 在 /etc/rc.d/rc.local 脚本中加入 /sbin/service crond start * 3、用户级任务和系统级任务 * /var/spool/cron * /etc/crontab * # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed转载地址:http://qpabb.baihongyu.com/