1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
564 views
by gary-h-3646 (180 points)
 
Do the sample cron strings for scheduling a channel to run in specific intervals (article #421) specify the beginning of the hour?  For example, will the string 0 0 8-10 * * * set the channel to run from 08:00:00 to 10:59:59 or will it stop at 10:00:00?

1 Answer

0 votes

It would run at 10:00:00 as it is in the window you have specified.

Cron 0 0 8-10 * * *:
8:00:00
9:00:00
10:00:00

 

Cron 0 0 8-9 * * *:
8:00:00
9:00:00

To specify minutes you can do the following:

Cron 0 */5 8-10 * * *:
8:00:00
8:05:00
8:10:00
...
9:00:00
9:05:00
9:10:00
...

10:00:00
10:05:00
10:10:00
...
10:55:00

by brandon-w-8204 (34.1k points)
edited by brandon-w-8204
...