Cron expression for non whole number start/end time

Hello Everyone,

I need to create a cron expression for below schedule,

Every 20 minutes between 08:30 - 18:30 from Monday to Friday.

I tried lot to create expression for it but couldn’t. Can anyone please help me with it.

1 Like

here you go @Kapil

0 0/20 8-18 ? * MON,TUE,WED,THU,FRI *

for more details on it
https://www.freeformatter.com/cron-expression-generator-quartz.html

4 Likes

Hello @Kapil
@Palaniyappan just missed the minutes part rest all is correct
0 30/20 08-18 ? * MON,TUE,WED,THU,FRI *

3 Likes

Thanks all for your quick help!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.