Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 11/02/2016
Components: Scheduler
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: CF2016_Update3 / 2020.0.0.314573
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
A task having "On Misfire" set to "Fire Now" or "Invoke Handler" runs off-schedule in these cases:
I) The task was just created (via both CF Admin and cfschedule)
II) The task was just updated (via both CF Admin and cfschedule)
III) Every time CF starts, if the task is not paused (3141655 fixed the issue for paused tasks)
Steps to Reproduce:
1) Create a task w/ onmisfire="firenow" (via either CF Admin and cfschedule)
2) See scheduler.log shows the task misfired and then fired
3) Edit the task (via either CF Admin and cfschedule)
4) See scheduler.log shows the task misfired and then fired
5) Restart CF
6) See scheduler.log shows the task misfired and then fired
To further verify, just have the task hit a page that sets SERVER.foo=now(). Then, at steps 2/4/6, see SERVER.foo's timestamp updated.
If CF Admin isn't using the Admin API for this, then the Admin API should also be checked/fixed.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4197250
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: