How to do scheduled job to run twice in a month?

Rajan3
Mega Expert

How to do scheduled job to run twice in a month?

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Ramesh,

It depends on which day you want. you can execute a condition and get the day of month and if that day matches then execute the script.

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Naveen4
Kilo Guru

Hi,

Try like this 

 

PFB:

Strating should be moth start date.

find_real_file.png

karthiknagaramu
Kilo Sage

Hi,

 

You can have the scheduled job created twice and then specify monthly in both the jobs and the data you want.

 

Regards,

Karthik 

guruprasad1
Kilo Guru

Hi

 

You can use conditional field while defining new schedule, PFB Screenshot for reference.

 

you can write logic as per requirement in checkWhenToRun() function.

 

find_real_file.png