Do I have to have the coldfusion executive running for CFShedule to work on an NT server or Just when using LocalHost.
Ahh just as I am writing a reply to myself, incoming mail. >grasping at straws but does administrator use dates in dd/mm/yyyy format or >is it provincial ;) and take only mm/dd/yyyy format? Administrator seems fine when recieiving it in dd/mm/yyyy but sets it to mm/dd/yyyy anyway. -----Original Message----- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 4:03 PM To: CF-Talk Subject: cfSchedule is not doing anything 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