Hi I need a Cron Expression for my code for the code :-
needs to run every half an hour between 3AM to 7AM everyday excluding Saturday
Can anyone suggest solution??
Hi @Kunal_Jain
Please use the below cron expression to meet your requirement.
0 0/30 3-7 ? * SUN,MON,TUE,WED,THU,FRI *
Every 30 minutes, between 03:00 AM and 07:59 AM, only on Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
Why I am getting this??
For this it is giving 06:59 AM so bot needs to be run at 07 AM also
Will it run at that time??
You will need 2 triggers
- 0 0/30 3-6 ? * SUN,MON,TUE,WED,THU,FRI *
which will run from 3 AM to 6:30 AM in every 30 mins - 0 0 7 ? * SUN,MON,TUE,WED,THU,FRI *
which will run only on 7 AM