Will scheduled job run exactly at the scheduled time or can there be delays?

Suggy
Giga Sage

Having known that scheduled jobs run asynchronously, my question is -

 

Will scheduled job run exactly at the scheduled time or can there be delays?

Say I have a continuous/periodic scheduled job to run every 5mins which will make an API call to external tool.

Will this job run EXACTLY every 5 mins and make that API call or can there be delays in triggering the API call when the instance load is high or worker threads are busy etc?

8 REPLIES 8

Mark Manders
Mega Patron

A scheduled job will start at exactly the time it needs to be started, but if the load is high, it can get into a queue and will execute once there is room to be executed.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark


@Mark Manders wrote:

but if the load is high, it can get into a queue and will execute once there is room to be executed.


Hi @Mark Manders  where can I see that queue that you are referring (Scheduler Queue right?) Is that something exposed to us? Just for understanding.

I don't think that admin user can see that queue, except the schduled job log. 

Check in pic and find the same in your instance, if it helps.

 

AshishKM_0-1736970819580.png

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Hi @AshishKM where in the picture shows the job logs?

I can see 'Slow job log' only - which is basically jobs which are running slowly and this doesnt show logs of all the jobs.