查看定期服务状态 service crond status
系统任务:编辑/etc/crontab
用户任务:crontab -e,写入命令
crontab -l 列出定时任务
* * * * * /usr/local/hello.sh 分钟 消失 日 月 星期
实例:
* * * * * echo hello >> /usr/local/linux/hello.sh 每分钟写将hello追加到hello.sh中
Reference: http://www.runoob.com/linux/linux-comm-crontab.html