Will scheduled job run exactly at the scheduled time or can there be delays?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 01:43 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 05:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 09:24 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 11:54 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 07:19 PM
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.