Using a cfschedule tag with the action=run attribute is another
option. I'm not suggesting this is the best option, just one available
method.

-Mike Chabot

On Fri, Jan 30, 2009 at 10:06 PM, Adrian Lynch
<cont...@adrianlynch.co.uk> wrote:
>
> cfinclude or call the page via cfhttp from within your admin section.
>
> Adrian
>
>> -----Original Message-----
>> From: Jim McAtee [mailto:jmca...@mediaodyssey.com]
>> Sent: 31 January 2009 03:00
>> To: cf-talk
>> Subject: Execute a CF scheduled task
>>
>>
>> In CF8 is there any way to execute a scheduled task from another CF
>> template?  I have a complex database maintenance task that is run every
>> couple of hours, but I'd also like to fire it off from an adminstrator
>> type of application as certain changes are made to the data.  Short of
>> duplicating all the code from the scheduled task, or creating a
>> server-wide CFML tag or object out of it, this is the only solution
>> that
>> comes to mind.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to