crontab简易入门

来源:互联网 发布:2009年网络歌曲排行榜 编辑:程序博客网 时间:2024/06/05 20:24
linux 下的定时任务:
#crontab -e
进入编辑模式,新加入下面的话,每隔5分钟执行系统重启
*/5 * * * * /etc/init.d/imp/ service imp start
保存
重启
#service crond restart


详细请参考下面的网址:
http://www.centoscn.com/CentOS/help/2014/1030/4025.html

http://www.centoscn.com/CentOS/help/2014/1030/4025.html
0 0