Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Special Schedule - CRON with Range Every

More
29 Dec 2017 14:32 #1 by Virginie_Samson
Virginie_Samson created the topic: Special Schedule - CRON with Range Every
Hello
We need to schedule a process from 7h30 to 19h30, every 30 minutes.

We create a CRON like that :
  • Minute : Range between 30 and 30, every 30
  • Hour : Range Between 7 and 19

It starts well at 7h30, but only every hour.
What did we do wrong ?

Thanks !
Virginie
More
05 Jan 2018 15:00 #2 by Thomas BLETON
Thomas BLETON replied the topic: Special Schedule - CRON with Range Every
Hi,

This kind of schedule is generally done with two schedules in cron-like systems.
unix.stackexchange.com/questions/123475/...ns-every-5-mins-once

So your first schedule would execute the 7h30 occurence: 0 30 7 * * ? *
The second schedule will execute the other occurences from 8h00 to 19h30: 0 */30 8-19 * * ? *
More
16 Feb 2018 16:20 #3 by Virginie_Samson
Virginie_Samson replied the topic: Special Schedule - CRON with Range Every
Ok, thanks