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

Anurag Tripathi
Mega Patron
Mega Patron

How about 2 jobs, same jobs.

One running at 12 and one at 7

-Anurag

Thank you @Anurag Tripathi for your response, but using one job only not two jobs.

ASA5
Kilo Sage

Hi @Anil74 ,

 

what you have done is the right way, does it work when you click execute now ?

 

Can you share more details ?

 

Hi @ASA5 , We have one scheduled job which will run daily @12pm so far, I have to update the same job to run twice a day first run time @12pm and second run @5pm to complete this I have updated run to periodically and repeat interval as 12:00:00 and staring as 17:00:00.