Copy link to clipboard
Copied
Hi,
Saw an old issue from 2012 (https://forums.adobe.com/message/4560283#4560283) answered in the forums for this same error happening in Coldfusion 10 (it was a bug that was fixed in an update).
However, I am running Coldfusion 2016 Standard and I cannot find any answers about this issue for this version.
If it matters, I am calling cfschedule via script as follows:
cfschedule( action="update", task="Task1", interval="60", mode="application", starttime=timeFormat(dateAdd("s", 30, now()), "HH:mm:ss"), URL="<MY URL>", eventHandler="com.SearchTaskHandler" );
Any help is appreciated.
Copy link to clipboard
Copied
Are you asking what about that code-based creation of a schedule task might be using the advanced (Enterprise-only) features? I think it's your use of eventhandler.
Go into the CF Admin, and see if that is offered in setting up a scheduled task in the UI. If it's not there, then it's not supported in your CF 2016 Standard, and so you can't use it in setting up a scheduled task in code.