grasping at straws but does administrator use dates in dd/mm/yyyy format or
is it provincial ;) and take only mm/dd/yyyy format?

----- Original Message -----
From: "John McCosker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 9:03 AM
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.
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to