Action="update" is correct. Action="run" will actually run a previously
scheduled event (As in: "Do it now").
When you say you "don't see it happening", what do you mean? Do you have
access to the CF Administrator? If so, you'll see whether or not the event
was successfully scheduled. As to whether or not the event actually _runs_
when you expect, that's a different matter. Many people have had miserable
luck getting the CF Scheduler to work properly, going back to at least CF
2.0.
A couple of other issues: Registry access must be enabled on the server for
CFSCHEDULE to be able to add and update scheduled events, since CF stores
scheduled events in the registry. There's also a 'Scheduler Refresh
Interval' that is set on the CF server that tells CF how often to look for
newly scheduled tasks. A newly scheduled task will not run until CF sees
it. You shouldn't count on the newly scheduled task to run until a period
of at least that refresh interval has expired.
Jim
----- Original Message -----
From: "Peter Benoit" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 30, 2000 2:03 PM
Subject: RE: Confused about CFSCHEDULE
> Well do I need to use action="run" when I want to add an event to the
> schedule?
>
> action="update" doesn't seem to do it, though the docs say I can use it to
> add an event. I don't see it happening??
>
> * -----Original Message-----
> * From: Christopher Olive, CIO [mailto:[EMAIL PROTECTED]]
> * Sent: Monday, October 30, 2000 3:16 PM
> * To: CF-Talk
> * Subject: RE: Confused about CFSCHEDULE
> *
> *
> * no, the CFSCHEDULE task allows you to interface with the cfadmin.
> *
> * from the docs:
> *
> * "CFSCHEDULE provides a programmatic interface to the
> * ColdFusion scheduling
> * engine. You can run a specified page at scheduled intervals
> * with the option
> * to write out static HTML pages. This allows you to offer
> * users access to
> * pages that publish data, such as reports, without forcing
> * users to wait
> * while a database transaction is performed in order to
> * populate the data on
> * the page."
> *
> * best used for long running reports. the user would fill out
> * some form, the
> * CFSCHEDULE tag would be used to...well, schedule the report,
> * with the data
> * passed (perhaps) in the URL called.
> *
> * chris olive, cio
> * cresco technologies
> * [EMAIL PROTECTED]
> * http://www.crescotech.com
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]