Hi,

I just found this little gem in the help text for <cfschedule>


Caution: When ColdFusion starts, it runs all past jobs that are scheduled to run once. For example, if you schedule a job to run on 10 AM on Januray 1, 2003, and you restart ColdFusion on Jan 10, it runs the January 1 job, even if it already ran. (ColdFusion does this because it attempts to ensure that all scheduled tasks get run, and it does not have information on whether prior tasks have been run.)


This gave me a bit of a scare as I've got (had) a few scheduled tasks set to 'run once' in 2001 as a convenient way of putting tasks on hold. The workaround is simple, after a moment of "what the F$&?!!!", simply future date the task so far in the future that it will never run without manual activation.

Brett
B)

--
Brett Payne-Rhodes
Eaglehawk Computing
t: +61 (0)8 9371-0471
f: +61 (0)8 9371-0470
m: +61 (0)414 371 047
e: [EMAIL PROTECTED]
w: www.ehc.net.au

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to