Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

cfschedule on multi instance server

$
0
0

Hi All

 

Hope someone can help me on this. We run a multi instance CF server with 3 "slave" instances, which handle the site requests and the CFusion instance that handles the scheduled tasks.

 

The application I'm writing has a few scheduled tasks that need setting up each time it gets installed and it is installed multiple times for a variety of clients. So far, this has been done either manually setting them up individually on the CFusiion instance or I created an admin menu extension that fires them off (Knowing the <cfschedule> is being run on CFusion, thus installing them to that instance).

 

My question however is; it would much more efficient if the application could check for the existence of the scheduled task and if it's not there, install them. The problem though is as the request would be coming from initial install, thus a web request, it would be coming from one of the "Slave" instances and install the scheduled tasks to them = bad. Is there any way to direct a specific request or point <cfschedule> to install on specific instance of ColdFusion?

 

Checking for the existance on the CFusion instance is easy, I can read:

 

C:/JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/n eo-cron.xml

 

But then directing the request seems to be impossible in this way.

 

I am running CF9.0.1 on a Windows 2008 Server box with IIS7.5

 

Hopefully somone may be able to help

 

Thanks in advance

 

Tom


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>