Copy link to clipboard
Copied
Conundrum - on both my CF 2016 Devlt and Production Servers a SERVER LEVEL CFSchedule Task that I have programatically created intermittently "dies" at midnight. I have it scheduled to run every 60 seconds, but sometimes it seems to run at 11.59.something and then the CFSchedule "Next Run" date/time is set to a date/time far into the future. For example, this is what the Scheduled Tasks Server Setting is now showing:
Interval 1min 0sec
Last Run: 8/28/2017 11:59:22PM
Next Run: 8/29/2017 6.38.22PM (??????????????????)
Repeat: -1
Remaining Count: Infinite
Cluster: NO
Here is the Code to boot off the CFSchedule Task:
<cfschedule action = "update"
task = "myTaskNameHere"
interval = "60"
url = "http:/xxx.com.au/sendMessages.cfm"
onMisfire = "FIRENOW"
onException = "REFIRE">
I am stumped.
Copy link to clipboard
Copied
Does the schedule.log show anything when the event fires?
I remember seeing a bug a while back with regard to the FIRENOW. Trying setting the task without it and see if it happens again.
Copy link to clipboard
Copied
nada -
29/08/2017 | 11:59:56 PM | Information | DefaultQuartzScheduler_Worker-5 | |
Task DEFAULT.nerivoSendMessages triggered. |
and it happened again last night ...
I will remove onMisfire = "FIRENOW" and see what happens tonight - I recall putting it in there because of this problem, so I am not hopeful that this will fix it.
It really is odd.