Hi can someone help me in creating a quartz expression which triggers every 120 min 7 days a week?

50 Views Asked by At

Hi can someone help me in creating a quartz expression which triggers every 120 min 7 days a week?I tried something like <0 0/120 * * * ?* MON-SUN>

but its not working.

1

There are 1 best solutions below

0
Sami Kuhmonen On

Minutes go up to 60 so you can't have an interval of 120. 120 minutes is two hours so you want

0 0 0/2 * * ?