【发布时间】:2014-03-27 21:09:32
【问题描述】:
我想在每周三、周六和周日的下午 5 点有一份工作......这是否正确?
0 17 * * 0,3,6 my.command.goes.here.
PS:使用centos
【问题讨论】:
我想在每周三、周六和周日的下午 5 点有一份工作......这是否正确?
0 17 * * 0,3,6 my.command.goes.here.
PS:使用centos
【问题讨论】:
根据我最近对 cron 的研究,你写的是正确的。
在 google 上搜索 crontab 手册不会有太大的伤害;) http://www.linuxmanpages.com/man5/crontab.5.php
【讨论】:
我终于找到问题了..这是关于时间的Linux问题。
我使用 hwclock,它显示时间 A。 我使用 grep 查看 cron 时间,它显示时间 B 我使用php来回显时间,它显示时间C。
有趣,他们都有不同的时间。
linux 从未停止让我惊讶....
【讨论】: