...i found this one out the hard way.
After upgrading a server from 6 to 6.1. a every scheduled task on the
server ran. The problem was we were dynamically creating schedules to
FTP edi files to a supplier for orders...and we didnt have anything in
place to clear out the old schedules....
$20,000 worth of orders later their system picked up we had sent them
duplicates and removed them. very lucky for me! :)
so yeh, be carefull with cfschedule.
Pat
Brett Payne-Rhodes wrote:
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)
---
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/