Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Schedule Job run time

SR20
Tera Contributor

Hi SN...

Could you please tell me where I can see on what time schedule job ran?

I mean can i see 3 days prior on what time job has run.

Thanks

3 REPLIES 3

Chuck Tomasi
Tera Patron

You can see the NEXT time a scheduled job is set to run by going to System Scheduler> Scheduled Jobs.



I don't see any place in the system to see previous runs. You could do this manually by adding logging statements or inserting records in to a log table in each scheduled job you want to track.


A schedule job is in running state for past 6 days. ( This is unusual and it had never happened before ). This schedule job should run daily at 1.30 PM.



1) What could be the possible reason for this ?



â–º When there is a record in running state in sys_trigger table, no new records will get created (i.e. in this case, trigger records for the past 5 days ) - Is my understanding correct ??   Chuck Tomasi's Blog



2) If i had to manually change the state of this record in sys_trigger table, should i change it to state = Error ?? (for new trigger record to get created)



I can see 5 options in state field : They are 1)   None 2) Queue 3) In progress 4) Ready 5) Error



- Please can you help..


I recommend you reach out to support at this point. Be sure to let us know what happened so others who may have the same question/issue can benefit.



HI Service Portal - ServiceNow


Contact Support | ServiceNow