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


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.2cto.com/os/201303/196885.html

相关内容

    暂无相关文章