Will crontab hour range a-b run after b too? -


say have crontab runs every 20 minutes , have hour range can vary lets a-b, in 1 example like

*/20 5-23 * * * /usr/bin/cool_program 

my question is, cron run @ 23:00, 23:20, 23:40 , 00:00 too?

yes offcourse execute on every 2o mins 5am till 23 hrs,

* 20 – 20th minute (top of hour) * 5-23 – 5.20 am,5.40 am,6 am,....23 pm * * – every day * * – every month * * - evryday of week 

documentation reference


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -