Hi there!! I'm not getting any results from my cfshedule here.
The schedule at a certain time will compile a report from date A to date B and write to an XML or Excel document. The client is still deciding on that one. So for the time being it is just sending a test email. The template runs OK when tested, i.e. the email is sent, but will never run through the admin when Run directly or set to run at a given time. I checked the archives AND faq: Bruce, Rodney had the exact same problem but the thread just stopped, the coversataion was never completed. I have also emailed Bruce off list. FAQ didn't cover this problem. My basic code. <CFIF isDefined("FORM.createCustomisedSchedule")> <!--- // schedule custom tag |---> <CFSET second="00"> <CFSET NEWStartDate=createDate(FORM.displayYear, FORM.displayMonth, FORM.displayDay)> <CFSET NEWStartTime=createTime(FORM.hour, FORM.minute, second)> <CF_createSchedule scheduleOption="#FORM.scheduleOption#" schName="#FORM.scheduleName#" schInterval="#FORM.scheduleInterval#" startDate="#NEWStartDate#" startTime="#NEWStartTime#" custInterval="#FORM.dailyInterval#" newSchDir="#FORM.newSchDirectory#" vehidList="#FORM.SelectedItems#"> </CFIF> tag template <CFIF ATTRIBUTES.scheduleOption EQ "New"> <!--- <CFSET intVal=(60*60)> ---> <CFIF ATTRIBUTES.custInterval GT 1> <CFSET intVal=(ATTRIBUTES.custInterval*24)> <CFSET intVal=(intVal*60)> <CFSET intVal=(intVal*60)> </CFIF> <CFIF ATTRIBUTES.schInterval EQ "Customise"> <CFSCHEDULE action="UPDATE" task="#ATTRIBUTES.schName#" operation="HTTPRequest" startDate="#dateFormat(ATTRIBUTES.startDate, 'DD/MM/YYYY')#" startTime="#timeFormat(ATTRIBUTES.startTime, 'hh:mm:ss')#" interval="#intVal#" url="#request.secureScheduleRoot#EXECUTE/RUNSchedule.cfm"> </CFIF> </CFIF> Is there something I am not doing maybe? Thanks in advance anyone. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists