How to schdueled report twice a day daily

shaik_irfan
Tera Guru

Hello,

 

We have a requirement where i need to scheudled a report twice a day like 8 am , 4 pm.

 

Can anyone pleae help me out how to set this

1 ACCEPTED SOLUTION

hi,

Example:

Starting time = 8am -> sends the report

 

Repeat interval = 12h - waits 12hours

days = 0

The next schedule will be at 8pm

 

you can keep below values in fields,

 

Let me know if you have any queries.

Regards,

Manali H.

View solution in original post

8 REPLIES 8

manali harmalka
Kilo Guru

Hi,

You can refer below link for this.

https://community.servicenow.com/community?id=community_blog&sys_id=4a6dea29dbd0dbc01dcaf3231f9619de

 

Else you can try,

Example:

Starting time = 8am -> sends the report

Repeat interval = 8h - waits 8hours(it will send report at 4pm again)

days = 1

The next schedule will be next day at 8am

find_real_file.png

check this solution,if it work as expected mark as helpful or correct as per impact.

 

Regards,

Manali H.

 

Hi Manali,

 

If i select 1 days & given time as 12 . how the scheudler runs will it runs ?? Can you brief little more ?

 

Or take an example like i want it to run morning 8 AM & Evening 8 PM what do i need to keep ???

 

hi,

Example:

Starting time = 8am -> sends the report

 

Repeat interval = 12h - waits 12hours

days = 0

The next schedule will be at 8pm

 

you can keep below values in fields,

 

Let me know if you have any queries.

Regards,

Manali H.

Thanks let me test it and will let you know with the results, also i need this schedule to run only M - F for that i developed a script can you please confirm is it correct or not:

 

function Weekday(){
var today = new GlideDateTime();
var dayOfWeek = today.getDayOfWeek();
var answer = false;

if(dayOfWeek == 1 || dayOfWeek == 2 || dayOfWeek == 3 || dayOfWeek == 4 || dayOfWeek == 5){ 
answer = true;
}
return answer;
}
Weekday();