Java spring – I have following cron expression for cron job.
0 0/35 * * * ?
But above mentioned cron expression fires once in an hour and like as follows
1:35
2:35
3:35
4:35
I want to fire every after 35 mins instead once in an hour
any quick suggestion ?
Cron syntax is
So what you would want is
So it will fire on minutes 0 and 35 of each hour.
See the Quartz docs for this, as Spring is using Quartz as scheduler here. Those docs also explain the special chars like * ? – , and others.