How to write cron expression for scheduling a job to execute in every 50 days or 71 days

How to write cron expression for scheduling a job to execute in every 50 days or 71 days.

There is no cron expression to do this. However, there are 2 workarounds.

1.) Define separate cron jobs for every 40 days (will need manual maintenance).
2.) Have the process run every 20 days, but only run every other time the process is initiated. You can do this by allowing the bot to read and toggle an Orchestrator asset from True to False and vice-versa. Proper accesses will need to be given to the Robot role for updating assets.

1 Like

Ok Noted @Anthony_Humphries

Hi @MariaJosephina

try this

0 0 50 1 1/2 ? *

Thanks
Ashwin S

it is showing expression syntax error.