ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 23rd, 2004, 11:27 AM
visioncrit visioncrit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: North Vancouver, BC
Posts: 9 visioncrit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to visioncrit
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!

Reply With Quote
  #2  
Old March 23rd, 2004, 12:07 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
Are you running the latest version of CFMX 6.1 with all the updates and patches?

Reply With Quote
  #3  
Old March 23rd, 2004, 12:08 PM
visioncrit visioncrit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: North Vancouver, BC
Posts: 9 visioncrit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to visioncrit
I'm running CF MX 6.0 patched.

Reply With Quote
  #4  
Old March 23rd, 2004, 12:52 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,627 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 8 m 55 sec
Reputation Power: 53
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.

Reply With Quote
  #5  
Old March 23rd, 2004, 12:55 PM
visioncrit visioncrit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: North Vancouver, BC
Posts: 9 visioncrit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to visioncrit
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.

Reply With Quote
  #6  
Old September 20th, 2004, 04:43 PM
gdemaria gdemaria is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 gdemaria User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CF 6.0 <cfschedule> problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway