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

Scheduled Tasks - vanishing into the Void

New Here ,
Sep 02, 2010 Sep 02, 2010

We've got a really frustrating issue with our ColdFusion 8.01 box that seems to be getting worse as time goes on.

Every so often (the actually time seems pretty random - it could be 24 hours it could be 5 days) scheduled tasks that have been created in the ColdFusion Administration are simply disappearing.

There's no pattern that we can see as not all the tasks vanish at the same time but, innevitably, the tasks will eventually drop out of the list.

It doesn't seem to coincide with anything we're doing (CF restarts, Server patches, etc.) and the tasks themselves run without error ... assuming they haven't been removed.

Has anyone else experienced this behaviour? I've tried adding <cfflush ... /> to the scripts but they still disappear over time.

Any assitance gratefully received.

Rob

(cross posted at http://blog.rubicon.je/ and http://serverfault.com/questions/177383/why-do-our-cf8-scheduled-tasks-disappear-randomly)

1.2K
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
Contributor ,
Sep 02, 2010 Sep 02, 2010

Have you looked at the ColdFusion logs to see if there is any error? How about the server logs? Are there server backups or restores going on?

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 ,
Sep 02, 2010 Sep 02, 2010

Adding CFFLUSH? Hmm. That's curious. Where would you be adding that? I really don't see how CFML code could have an effect on a seeming disappearance of scheduled tasks, so just curious about that.

But like Dinghus said, check the logs, and especially the schedule.log. If you didn't notice, you can enable scheduled task logging in the CF Admin's Logging Settings page.

Look also at the \runtime\logs or \logs.

Let us know what you find. There's got to be an explanation.

/charlie


/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
New Here ,
Sep 03, 2010 Sep 03, 2010

Charlie - I can't remember where I saw it but it was suggested (on a Blog post I think) as a potential fix for vanishing tasks. Doesn't make much sense to me either but am willing to try pretty much anything.

Looking through the logs I can't see anything obvious. The scheduler.log shows the tasks being recreated as expected but I'll need to wait for a specific task to disappear so I can search thoroughly.

The other log files don't shed any light but again, without a specific time slot to search it's like looking for the proverbial needle.

Rob

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
Contributor ,
Sep 03, 2010 Sep 03, 2010
LATEST

Whooooa.

Back the scheduler buggy up here.

The scheduler.log shows the tasks being recreated as expected

Why would the tasks be "recreated as expected"? We may be onto something here. You also say you don't have a time frame to look at for problems.

Are your scheduled tasks not really scheduled?

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