Are you sure that cfschedule is operational? This could be disabled by the
server administrators. Just ask them. If cfschedule is operating, see if
they'll check within the CF Administrator for you to see if your task was
successfully scheduled.
The only other thing I'd add is that I've had (slightly) more luck with
cfschedule when using military time (24 hour clock), rather than using
AM/PM. Specifying an end date and time - years into the future, if
desired - sometimes also helps.
Jim
----- Original Message -----
From: "Marc Garrett" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, June 03, 2001 7:01 PM
Subject: problems with cfschedule and cfftp
> [Sorry in advance if this is a repeat. I don't think my first post went
> through].
>
> I'm having problems with cfschedule. I'd like to ftp a file from a remote
> server to my local server once a day. When I run the template manually,
> cfftp works fine. When I try to run the cfftp template via cfschedule,
> nothing happens. I'm on a shared server so I don't have access to the
> schedule log.
>
> Here's my code:
>
> <cfschedule action="UPDATE"
> task="get_Schools"
> operation="HTTPRequest"
> url="http://url here/staging/BR_RES/Admin/get_Schools.cfm"
> startdate="06/03/01"
> starttime="12:40 PM"
> interval="Daily">
>
> Thanks for any assistance,
>
> Marc Garrett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists