2013年3月20日
摘要: 系统cron设定:/etc/crontab 通过 /etc/crontab 文件,可以设定系统定期执行的任务,当然,要想编辑这个文件,得有root权限。 让我们打开 /etc/crontab,看看cron的语法: 真正描述执行的任务在后五行,每行代表了一个定期执行的任务,从前到后,分为3部分: 第一 阅读全文
posted @ 2013-03-20 15:52 上品物语 阅读(4392) 评论(0) 推荐(0)
摘要: 配置文件一般为/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 rel 阅读全文
posted @ 2013-03-20 15:31 上品物语 阅读(9953) 评论(0) 推荐(0)