Control - Run every 3 months

mark_edwards
Tera Contributor

I would like to have a number of Control Test Definition's configured to run every 3 months, the options we have available are:

Daily

Weekly

Monthly

Periodically

Once

On Demand

 

To achieve this at the moment we set this to "Periodically" and set the repeat interval to 90 days, but some months they fire in the previous month, we could obviously change this to 91 days (91 x 4 = 364), but would eventually still encounter the same issue.

 

I thought a "Quarterly" option would resolve this, chosing the day of the month it would need to fire.

 

But wondering if anyone else has any experience of such a query and how they would deal with this?

 

Any feedback is appriciated.

 

1 REPLY 1

Robert H
Mega Sage

Hello @mark_edwards ,

 

Sadly, schedules in ServiceNow don't have a "first day of every Nth month" option.

The best you can do is to use "Periodically" with a repeat interval of 91 days, 7 hours, 30 minutes (because of leap years) and "Starting" set to the 2nd of the month where the job shall run for the first time.

 

That way the schedule would always run in the same four months of the year, although it will run on one of the first four days of the month.

 

Example job start times when choosing December 2nd:

2025-12-02 00:00:00
2026-03-03 07:30:00
2026-06-02 15:00:00
2026-09-01 22:30:00
2026-12-02 06:00:00
2027-03-03 13:30:00
2027-06-02 21:00:00
2027-09-02 04:30:00
2027-12-02 12:00:00
2028-03-02 19:30:00
2028-06-02 03:00:00
2028-09-01 10:30:00
2028-12-01 18:00:00
2029-03-03 01:30:00
2029-06-02 09:00:00
2029-09-01 16:30:00
2029-12-02 00:00:00

 

Regards,

Robert