If you want the option of being able to easily kill a scheduled job, can you code the job to regularly check an application variable for a given value, and just cfexit if it's been set by a controlling application? It's a hack, but it works!
Phil. ----- Original Message ----- From: "Tim McAuliffe" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 24, 2004 1:56 PM Subject: [cfaussie] Re: Zombie Schedules that just won't die... > > Stop and then re-start the CF Service. > > > > This is a bug listed on the MM site. > > It's not quite the same. I assume you're referring to this: > http://www.macromedia.com/support/coldfusion/ts/documents/tn18361.htm > > You can get around that bug by writing: > > <cfobject action="CREATE" type="JAVA" class="coldfusion.server.ServiceFactory" name="factory"> > <cfset factory.CronService.deleteTask("taskname")> > > OR > > You can hack the neo-cron.xml file to do the same thing > > However this DOESN'T work if you try to delete the task within the > template that's called. That's the problem we're having. > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
