ubuntu下定时执行工具cron开启关闭重启

配置文件一般为/etc/init.d/cron

启动:sudo /etc/init.d/cron start

关闭:sudo /etc/init.d/cron stop

重启:sudo /etc/init.d/cron restart

重新载入配置:sudo /etc/init.d/cron reload

可以用ps aux | grep cron命令查看cron是否已启动

添加自启动任务,请查看:

Ubuntu下添加自启动任务

 

 推荐一个自己业余时间开发的网盘搜索引擎,360盘搜www.360panso.com

posted on 2013-03-20 15:31  上品物语  阅读(9915)  评论(0编辑  收藏  举报