知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

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

发布时间:2014-09-05 15:01:09作者:知识屋

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下添加自启动任务
 
http://www.zhishiwu.com/os/201303/196885.html
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜