- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 01:10 AM
Hi All,
I need a small confirmation for the below requirement.
Actually, there is an event that should be triggered on last day of every month [as Number of days in a month is not same] at 00:00:00. For Eg. 28th Feb 2019 00:00:00 but not at 28th Feb 2019 23:59:59.
I have read in ServiceNow docs as follows:
So, I have set the scheduled time as follows:
Now I have a doubt whether this would run correctly on 28th Feb 2019 00:00:00 or any other month if the last day is not 31st.
Please confirm!
Regards,
Nani
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 07:42 PM
Yes, setting the run date to the 31st at 00:00:00 will run the job on the last day of every month at 00:00:00 only. Not at any other time during the day.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 05:02 AM
Instead cant we run the schedule job on every month 1st ... the timing could be 00:01:00
Cant we run like this ??
Mark the answer as correct and helpful if it helped you..!!!
Regards,
Chalan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 08:18 AM
Hi Chalan,
Please note that it should run on last day of every month at 00:00:00
Regards,
Vamsy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 07:07 PM
Hi Chalan,
This should run on last day of every month at 00:00:00. Please confirm if the scheduled job mentioned in y query serves the purpose.
Regards,
Vamsy P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 07:08 PM
Hi Chalan,
This should run on last day of every month at 00:00:00. Please confirm if the scheduled job mentioned in my question serves the purpose.
Regards,
Nani