Hi.
Need cron expression at 4.30, 5,5.30 & 6 AM on weekdays. This is for all the 12 months irrespective of holidays
If you want a single expression better to tweak the start time by a minute to start at 4:59 and 5:59 instead of 5 and 6 this way single wxpression is possible …else you need two
0 30,59 4,5 ? * MON,TUE,WED,THU,FRI *
Else go with two one for running at 4:30 and 5:30 other for 5 and 6
0 30 4,5 ? * MON,TUE,WED,THU,FRI *
0 0 5,6 ? * MON,TUE,WED,THU,FRI *
Use this site to generate cron
Cheers
following the nature of cron will split on 2 crons:
0 30 4,5 ? * MON-FRI *
And:
0 0 5,6 ? * MON-FRI *
is not within the concept of cron., but have a look at:
30 4,5 * * 1-5→ Runs at 4:30 AM and 5:30 AM (Monday to Friday)0 5,6 * * 1-5→ Runs at 5:00 AM and 6:00 AM (Monday to Friday)
you can do this via this website : Free Online Cron Expression Generator and Describer - FreeFormatter.com and you have to define a calender of non working days and use it while creating your trigger.
1- To create the calendar, connect to orchestrator ->tenant->settings->non working-days-> create you calendar
2- while creating trigger, click on ‘non working days restrictions’ and choose your calendar
Hope this help you

