How to find if the Schedule Job did not ran

ravishankerayya
Kilo Contributor

I have Schedule Job , want to know whether it has ran or not. Created a Notification on sys_import_set_run and added a filter state and import set table =xxx

In this case, notification can only be send if the state is (cancelled, or errors)

The requirement i want to know the schedule job started or not

 

thanks

Ravi

6 REPLIES 6

Abhishek77
ServiceNow Employee
ServiceNow Employee

did you check in the system logs?

sachin_namjoshi
Kilo Patron
Kilo Patron

Check the System Schedule> Schedule jobs module. If your job is running, the state will be Running

 

 

 

find_real_file.png

 

Regards,

Sachin

ravishankerayya
Kilo Contributor

Need a email notification if it is ran or not. Like want to know the status,just want to know schedule job today it is started or not. In email

 

thanks

Ravi

Create a notification, under 'when to send' tab select send when 'event is fired'.

find_real_file.png

Create an event and call this in the first line of scheduled job code.

So that when the schedule job starts it will trigger that event, which triggers the email notification.

Hope this helps.