Do scheduled jobs wait before running again?

davidmcdonald
Kilo Guru

Lets say I've created a Scheduled Script Execution job, that runs every 30 seconds. If an execution is taking longer than 30 seconds, with the next job wait for the last one to complete, or run over the top of the last one?

1 ACCEPTED SOLUTION

vab_13
ServiceNow Employee
ServiceNow Employee

It won't, a repeat job is still running, it will not start the schedule.


There can not be two instances of the same scheduled job running at the same time.



i.e. OOB Email Reader waits, so would the other scheduled jobs.


View solution in original post

3 REPLIES 3

vab_13
ServiceNow Employee
ServiceNow Employee

It won't, a repeat job is still running, it will not start the schedule.


There can not be two instances of the same scheduled job running at the same time.



i.e. OOB Email Reader waits, so would the other scheduled jobs.


vab_13
ServiceNow Employee
ServiceNow Employee

if a job is triggered by an event, then it is possible to overlap,


e.g event processor job is a repeat job, it won't run more than 2 on the same node if it got stuck


Harish KM
Kilo Patron
Kilo Patron

check Chuck's answer below


Re: How is a scheduled job triggered at the right time?


Regards
Harish