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 (??????????????????)
Remaining Count: Infinite
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.
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.
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.