Doing jbrowse on the CFMX api, it seems that the scheduling service has
a restart function (as well as a stop and start) but if you try to stop
the service you get an error from the destroy function

<cfscript>
caster = createObject("java","coldfusion.scheduling.Scheduler");
//uncomment to try if you want but I got an error 6.1
//caster.restart();

//same here
//caster.stop();
//caster.start();
</cfscript>

<cfdump var="#caster#">

I get the same error on stop. It seems that it wants to remove the
Scheduler when it is stopped (or there is a security issue). There are
no other public methods on the coldfusion.scheduling.Scheduler that
would seem to help you.

That used to work I think (prior to 6.1), but other then that I don't
know if you can do what you want...

anyone?

--
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.net
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to