- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 01:20 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 02:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 01:50 AM
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
check this solution,if it work as expected mark as helpful or correct as per impact.
Regards,
Manali H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 02:10 AM
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 ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 02:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 02:58 AM
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();