Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Question Special Schedule - CRON with Range Every

More
29 Dec 2017 14:32 #1 by Virginie_Samson
Special Schedule - CRON with Range Every was created by Virginie_Samson
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
Replied by Thomas BLETON on 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
Replied by Virginie_Samson on topic Special Schedule - CRON with Range Every
Ok, thanks