How to get the start time and end time of a scheduled job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 12:19 AM
Hi All,
As per our requirement, we need to run three scheduled jobs in an order. for now, we have estimated the time and kept timers in workflow for that particular time. Is there any way to know the time in which a scheduled job started and ended, so that i can kept that condition and then that process will be fine. Please provide your suggestions.
Thanks & Regards,
Swamy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 01:48 AM
If they are running scripts, you may need to merge them into one, executed in the desired order.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 03:00 AM
One way of checking this is: System Logs -> Transactions (Background).
In that module all jobs are recorded for how long they run (a record is only inserted there if the job really finished). Based on that you can see when the job started.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 04:48 AM
Hi Sergiu,
Thank you so much for your reply.
But how can i kept a condition in the workflow to start a next scheduled job after the first scheduled job finished.
Regards,
Swamy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2016 04:50 PM
I think you would need your first scheduled job to fire an event after it completes to trigger the next scheduled job. I can't think of any other way to do it and ensure order.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022