|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
CF 6.0 <cfschedule> problem
Hi all,
I have encountered a problem with a known bug in Coldfusion MX... If I try and delete a scheduled task using the <cfschedule> tag (not the Admin panel, I like to sleep and the process happens at 3am), the task gets deleted but it still runs! I'm wondering if anyone might have a workaround besides the official Macromedia one (delete the task with CF Admin then reboot the server, that's not an option for me). Any ideas on how to get around this? Thanks! |
|
#2
|
|||
|
|||
|
Are you running the latest version of CFMX 6.1 with all the updates and patches?
|
|
#3
|
|||
|
|||
|
I'm running CF MX 6.0 patched.
|
|
#4
|
|||
|
|||
|
6.0 had plenty of shortcomings. I would strongly urge you to upgrade to 6.1 and apply any patches and hotfixes for 6.1 to the system.
|
|
#5
|
|||
|
|||
|
Hey kiteless,
It's not my option as to whether or not I can upgrade to 6.1 which is a pain... but this <cfschedule> problem is still exists in MX6.1 unfortunately, so I need a workaround either way. |
|
#6
|
|||
|
|||
|
Possible work-around
I have the same problem.
Instead of creating a scheduled task and deleting it, I ended up re-using the same one (or a small group of tasks). I keep track of the task name and update it. When creating the scheduled task be sure to define an end time; perhaps only a few minutes away from the start time. The interval can be such that it only fires once in the time span. So start it running at 1:00 to end at 1:10 with an interval of 30 minutes. At 1:10, the task will stop running, but will not be deleted. Next time, update the same task and use it again. The only way to delete the task is to do it through CFIDE/administrator. If you delete it using CFSCHEDULE, it will still be there, but not visible on the admin screen. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CF 6.0 <cfschedule> problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|