0

次の式のcronジョブがあります。

*/30 */2 * * *

これは30分ごとと2時間ごとに実行されますか、それとも2.5時間ごとに実行されますか?

4

3 に答える 3

3

偶数時間ごとに、毎日:00と:30に実行されます。

例:0:00、0:30、2:00、2:30 ... 12:00、12:30、14:00、14:30 ... 22:00、22:30

于 2012-07-17T20:59:03.873 に答える
1

ない。

差出人crontab(5)

Commands are executed by cron(8) when the minute, hour, and month of year fields match
the current time, and when at least one of the two day fields (day of month, or day of
week) match the current time

したがって、エントリは、分が0または30で、時間が偶数のときに実行されます-0:00、0:30、2:00、2:30、...。

于 2012-07-17T20:58:43.303 に答える
0

1時間-実行なし

次の1時間-30分ごとに実行

于 2012-07-17T20:56:28.253 に答える