Need Help for creating cron expression to run job every 1 hour and 15 mins

Hi Team,

I have gone through various posts on Forum for cron expression generation but none of them are helpful.

I want to schedule a job to run every one hour and 15 minutes (every 75 minutes) there is no scope of change or addition in code.

Thank You

Hi @itsHM ,
Try this one.

Hi,

Thank you for your reply.

But the above works as every 1 hour at 15 minutes that converts to 00:15, 01:15, 02:15… that is in one hour interval.

we do understand e.g.
00:00
01:15
02:30
03:45
05:00
06:15
07:30
08:45
10:00
11:15
12:30
13:45
15:00
16:15
17:30
18:45
20:00
21:15
22:30
23:45
Next day: 01:00

in general crons are not made for intervals
The strategy to split it into multiple crons will not work as 24*60 = 14440 / 75 = 19,2
As we do see there will be each day a new offset for the first start

Hi Peter,

Agreed.

How do you suggest I should do this?

when having a flexibility then change the inverval that it fits or omit one segment for syncing e.g. omit 23:45 loose 15 mins and get sync again on 00:00. now you can split the series into diferent crons

But can you suggest a Quartz cron for one hr and 15 mins. I understood the logic of resetting it to start again at 00:00.

not a single one but with multiples falling into the same group

00:00, 05:00, 10:00, 15:00, 20:00
01:15, 06:15, 11:15, 16:15,21:15
02:30,07:30, 12:30, 17:30, 22:30
03:45, 08:45, 13:45, 18:45, 23:45

which you can easy configure with e.g. tool:

first group:
0 0,5,10,15,20 * * *

second group:
15 1,6,11,16,21 * * *

etc

Thank you for helping out.

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