How to Schedule reports on hour basis?Report for EVERY HOUR between 8PM to 500 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2017 01:03 AM
Hi,
How to Schedule reports on hour basis?Report for EVERY HOUR between 8PM to 500 AM
In schedule jobs- i didn't found option for hour basis (Run- Daily,Weekly, monthly , periodically)
Please suggest me the how to achieve this?
Thanks
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 06:16 AM
This did not work for me in Tokyo.
I would try this in the conditional:
var tod = new GlideDateTime();
var hr = parseInt(tod.getLocalTime().toString().slice(11, 13));
var answer = false;
if (hr >= 20 || hr <= 5) {
answer = true;
}