-1

Tried running job on even count with trigger for every 31 seconds.

"*/31 * * * * *"  

But it didn't help. The time difference between each schedule needs be 62 seconds.

    Expected:
    Scheduled  at 12:04:08
    Scheduled  at 12:05:10

                                       Allowed values    Allowed special characters   Comment

┌───────────── second (optional)       0-59              * , - /                      
│ ┌───────────── minute                0-59              * , - /                      
│ │ ┌───────────── hour                0-23              * , - /                      
│ │ │ ┌───────────── day of month      1-31              * , - / L W ?                
│ │ │ │ ┌───────────── month           1-12 or JAN-DEC   * , - /                      
│ │ │ │ │ ┌───────────── day of week   0-6  or SUN-SAT   * , - / # L ?                Both 0 and 7 means SUN
│ │ │ │ │ │
* * * * * *
gunr2171
  • 16,104
  • 25
  • 61
  • 88
Deepa
  • 1
  • 1
  • 2

1 Answers1

1

*/62 * * * * *

You can test it here: https://crontab.cronhub.io/

  • Thanks for the reply patrick. The allowed cron format for seconds i s 0-59. – Deepa Mar 25 '22 at 12:41
  • Maybe this will help you, setting up multiple cron expressions, until you find the common denominator. https://stackoverflow.com/a/745927/9697453 – Patrick Man Mar 25 '22 at 12:48