How do I set the execution timing for "Job Schedule"?

M_Tomy
Tera Expert

Dear Experts

 

This is my first implementation of Job Scheduling.
Please let me know about the following.

 

I would like to set the execution timing to "Quarterly".
(e.g. Run: 1/1, 4/1, 7/1, 10/1)

How should I set this up?

 

20230315_Cap1.PNG

 

Best regards.

2 ACCEPTED SOLUTIONS

Ratnakar7
Mega Sage
Mega Sage

Hi @M_Tomy ,

 

You can set 'Run' as "Business Calendar:Entry Start" or "Business Calendar:Entry End" and then select 'Business Calendar' as "Quarter". (like below):

 

Ratnakar7_0-1678857497684.png

 

If my response helps you to resolve the issue close the question by Accepting solution and hit 👍thumb icon. From Correct answers others will get benefited in future.

 

Thanks,

Ratnakar

View solution in original post

Ratnakar7
Mega Sage
Mega Sage

Hi @M_Tomy ,

 

By default, ServiceNow uses the server's time zone for scheduling jobs, so if the server is in a different time zone than you, the job will run at the start of each quarter in the server's time zone.

To ensure that the job runs at the correct times in your local time zone, you need to set the time zone for the scheduled job to your local time zone. You can do this by setting the "Time zone" field on the scheduled job record to your local time zone.

 

For scheduled job types that require an entered time, you have the option to enter an associated time zone. If no time zone is selected, the job will run at the entered time in time zone of the user who entered the time. If 'Use System Time Zone' is selected, the entered time will run in the time zone of the instance running the job.

 

Thanks,

Ratnakar

View solution in original post

5 REPLIES 5

Ratnakar7
Mega Sage
Mega Sage

Hi @M_Tomy ,

 

You can set 'Run' as "Business Calendar:Entry Start" or "Business Calendar:Entry End" and then select 'Business Calendar' as "Quarter". (like below):

 

Ratnakar7_0-1678857497684.png

 

If my response helps you to resolve the issue close the question by Accepting solution and hit 👍thumb icon. From Correct answers others will get benefited in future.

 

Thanks,

Ratnakar

Mr. @Ratnakar7 

 

I was able to set it up.
Resolved.
I'm checking to see if it works most recently on April 1!

 

Best regards.

M_Tomy
Tera Expert

Dear @Ratnakar7 

May I ask one additional question?

If I select "Quarter" in the business calendar, am I correct in recognizing that it will run at the following times in my local time zone?

 ・1/1 0:00
 ・4/1 0:00
 ・7/1 0:00
 ・10/1 0:00

I fear that I am not in the server's time zone.

Ratnakar7
Mega Sage
Mega Sage

Hi @M_Tomy ,

 

By default, ServiceNow uses the server's time zone for scheduling jobs, so if the server is in a different time zone than you, the job will run at the start of each quarter in the server's time zone.

To ensure that the job runs at the correct times in your local time zone, you need to set the time zone for the scheduled job to your local time zone. You can do this by setting the "Time zone" field on the scheduled job record to your local time zone.

 

For scheduled job types that require an entered time, you have the option to enter an associated time zone. If no time zone is selected, the job will run at the entered time in time zone of the user who entered the time. If 'Use System Time Zone' is selected, the entered time will run in the time zone of the instance running the job.

 

Thanks,

Ratnakar