How to run a scheduled job twice a day

Anil74
Tera Guru

HI All,

How can we setup a scheduled job to run twice a day first one @12 pm and second one @5pm on same day. I have tried with setting run as periodically (mentioned repeat interval as 12pm and staring as 17pm) but its running only one time. Any suggestion?

 

Thank you 

1 ACCEPTED SOLUTION

hacktd
Mega Guru

Hi @Anil74,
Did you try the conditional checking in scheduled job ? Set the job to repeat hourly with 1 hour and put the time checking in the condition section. If the clock is at 12PM or 5PM the job will run otherwise, cancel the job. Noted that the time checking at condition will be affected by field "Run as tz"

hacktd_0-1707277830682.png

 

View solution in original post

6 REPLIES 6

siva krishna M2
Tera Guru

Hello @Anil74 

 

Below community post will help you

 

https://www.servicenow.com/community/now-platform-articles/better-conditions-for-scheduled-jobs-spec...

 

If it helps kindly click on like icon and mark it as accepted solution

hacktd
Mega Guru

Hi @Anil74,
Did you try the conditional checking in scheduled job ? Set the job to repeat hourly with 1 hour and put the time checking in the condition section. If the clock is at 12PM or 5PM the job will run otherwise, cancel the job. Noted that the time checking at condition will be affected by field "Run as tz"

hacktd_0-1707277830682.png