Scheduler in Orchestrator: Cron statement monday to friday

orchestrator
schedule
schedules

#1

Hello Community,

I want to create a job schedule in the orchestrator with a cron statement. Therefore I have the following string:

0/30 0/1 6-19 1/1 * ? *

It means, the job should be executed every 30 seconds between 6 AM and 7 PM. Now, I need this job to be executed only from Monday to Friday. Hence I would assume to change the statement to:

0/30 0/1 6-19 1/1 * 1-5 *

When the schedule is disabled, this statement is accepted and trigger details contains the actual meaning correctly. Unfortunately, I get a wrong syntax error, when I enable the schedule. Do you have any idea how to fix this?


#2

Hi,

For your scenario the expression would be: 30 0 6-19 ? * MON,TUE,WED,THU,FRI *
Have you tried using the http://www.cronmaker.com/ to help build the expression. Its a very handy tool.

Regards,
PD