I've had limited experience with CFSCHEDULE for a website on a server where we
did not have access to CFAdministrator. The key to getting it to work properly
is getting the URL to the file correct, and making sure you have the STARTDATE
and STARTTIME formatted properly. The page we were running is a template to
check and see if an e-mail needs to be sent out.

Here is the way we set up the Tag to run:

<cfschedule
action="Update"
task="Filename To Run"
operation="HTTPRequest"
url="Full Pathname to file/Filename to run"
startdate="#dateformat(now(), 'mm/dd/yy')#"
starttime="HH:MM:SS"   (note: it is very important you get the time formated
this way or it will never run properly)
interval="Daily"
resolveurl="No"
publish="No">

(For publish, if you were generating a log or some sort you would tell it yes,
and you would have to set up the file name using FILE="filename" and the path
to save the file to using PATH="pathway to save file")

Like I said, I don't have much experience with CFSCHEDULE, but that is all I
know about it. Hope it helps.

Chris Fox
General Glyphics


"KNOWLTON, JUSTIN J (SWBT)" wrote:

> Has anyone done any work with the <CFSCHEDULE> tag? I am trying to execute a
> template file nightly but I do not have access to administrator for the
> server. Anyone have any experience?
>
> Thanks,
> Justin
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to