Copy link to clipboard
Copied
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 Product | ColdFusion |
Version | 9,0,1,274733 |
Edition | Standard |
Operating System | Windows Server 2008 R2 |
OS Version | 6.1 |
Adobe Driver Version | 4.0 (Build 0005) |
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thanks Charlie! After being provided the IIS logs, was able to see that the original hosting company still had active tasks on their server.
Copy link to clipboard
Copied
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