Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Deleting a "ghost" schedule task in CF9

Guest
Apr 25, 2011 Apr 25, 2011

Hi,

Having a problem with a scheduled task that isnt deleting. This is for a brand new installation of an application we have taken over so it isn't a case where CF8 service is still running. At some point, the first hotfix was applied -- not sure relative to when the task first duplicated. It started when I renamed the scheduled tasks right around change of daylight savings time -- the task started duplicating. So, I removed the scheduled task and the task continued to be processed.

This "ghost" task IS NOT defined in the neo-cron.xml file.

The ghost task is not running at the old hosting company as I can see database records created on my server and when we had a service interruption it did not process at the appointed time.

The condition has persisted despite us carrying out both CF Service and full-server restarts.

I'd like to address this as the ghosted task is not writing to the scheduler log and I'm going to be completely reworking this task and would actually prefer to rename the CF template to something more sensible.

IIS version is 7.5.

Server ProductColdFusion
Version9,0,1,274733 
EditionStandard 
Operating SystemWindows Server 2008 R2 
OS Version6.1 
Adobe Driver Version4.0 (Build 0005) 

813
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 27, 2011 Apr 27, 2011

Can you clarify: what do you mean by "the task continued to be processed". Are you saying you delete it and it reappears?

Or do you mean you remove it and you have something that suggests to you it's still running? If that's the case, I would assert it is running from some other instance of CF, whether literally another instance on that box, if a Multiserver (multiple instance) deployment, or from another copy of CF whether running on that or some other box.

I see this sort of thing all the time.

Besides checking out the scheduled task list on any servers you can think of, you can also turn on the schedule task logging (in the CF admin logging page) and check those out. Or, you can check out the web server logs on the server where you think they are being run (not from where they are being started, which is what I mean above, but the one where you think it's "being executed"). The web server logs will have the IP address of the caller. That will tell you where it's being called from.

Hope that helps.

/charlie arehart

charlie@carehart.org

Providing fast, remote, on-demand troubleshooting services for CF (and CFBuilder)

More at http://www.carehart.org/consulting


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 29, 2011 Apr 29, 2011

Thanks Charlie! After being provided the IIS logs, was able to see that the original hosting company still had active tasks on their server.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 30, 2011 Apr 30, 2011
LATEST

Great to hear that it helped solve your problem. Thanks for the update.

/charlie arehart

charlie@carehart.org

Providing fast, remote, on-demand troubleshooting services for CF (and CFBuilder)

More at http://www.carehart.org/consulting


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources