Does anyone know the syntax for creating a one-off scheduled event? If you
create an event via the ColdFusion Administrator, it's possible to set it up
as one-off, but I need to be able to do this programmatically.
Also, any idea why this code isn't creating a scheduled event? It doesn't
throw an error when you run the template, but if you look in the
Administrator, a new event hasn't been added. And if you leave off the
INTERVAL attribute, it throws an error.
<CFSCHEDULE
ACTION="UPDATE"
TASK="Create Report"
OPERATION="HTTPRequest"
STARTDATE="#DateFormat(Now())#"
STARTTIME="#TimeFormat("00:00:00")#"
URL="#Request.Mappings.Webserver#schedule/CreateReport.cfm?ReportID=#URL.Rep
ortID#"
INTERVAL="1440">
Thanks
--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists