Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/24/2012
Components: Scheduler
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Duplicate ID: CF-3491695
Related Bugs:
CF-3491695 - Similar to
cfschedule does not skip excluded dates
Repro:
<cfscript>
dateStart = dateAdd("s", 10, now());
dateExclude = dateAdd("s", 10, dateStart);
dateEnd = dateAdd("s", 10, dateExclude);
</cfscript>
<cfschedule action="update" task="myTask" startdate="#dateStart#" starttime="#dateStart#" enddate="#dateEnd#" endtime="#dateEnd#" interval="5" url="http://a" exclude="#dateExclude#" />
<cfschedule action="list" task="myTask" result="q" />
<cfdump var="#q#" />
Actual Result (from scheduler.log):
"Information","DefaultQuartzScheduler_Worker-1","09/24/12","23:52:05",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-2","09/24/12","23:52:10",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-3","09/24/12","23:52:15",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-4","09/24/12","23:52:20",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-5","09/24/12","23:52:25",,"Task DEFAULT.myTask triggered."
Expected Result:
"Information","DefaultQuartzScheduler_Worker-1","09/24/12","23:52:05",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-2","09/24/12","23:52:10",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-4","09/24/12","23:52:20",,"Task DEFAULT.myTask triggered."
"Information","DefaultQuartzScheduler_Worker-5","09/24/12","23:52:25",,"Task DEFAULT.myTask triggered."
The task runs every 5 seconds. It should run twice, then skip once, then run twice. Currently it runs all 5 times.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3336193
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: