摘要:
启动linux定时服务:service crond start查看当前定时任务: crontab -l添加新定时任务:crontab -e先是测试crontab对于普通任务能否执行:*/1 * * * * date >> /opt/web/mydate.log保存后重启crontab :service crond restartCrontab语法usage:crontab [-u user] filecrontab [-u user] [ -e | -l | -r ](default operation is replace, per 1003.2)-e(edit user' 阅读全文
posted @ 2012-12-29 10:53
易木
阅读(304)
评论(0)
推荐(0)

浙公网安备 33010602011771号