I have a certain scheduled task configured to run once a day on my production server. It queries the database for a certain subset of users, then sends those users an email. It also writes the results to a log file that I then send to myself later that morning. It's very similar to several other scheduled tasks on the same server. So... why doesn't the task run at all? Nothing shows up in the log at all, despite the fact that I can run the task from my browser without error; there's nothing in the application log showing that an error occurred; and the Scheduler log shows that the task was executed and rescheduled.
The one anomaly that I do notice is that the scheduler log shows this particular task being rescheduled and then being executed, which happens with no other task. Does anyone have any tips or prior experience they can share?

Comments (4)
April 21, 2007
08:04AM | #
Hey Tom,
Have you tried deleting the scheduled task and recreating it? I think I remember seeing something like this before after one of the million upgrades I've done :)
Also -- I remember at one point having to do an occasional recycle of CF to get scheduled tasks to reinitialize (I think this was back in v6.1 though).
Hope that helps...
April 23, 2007
10:25AM | #
@Bernie: Thanks for the idea! I've definitely changed the task in the hope that it would be "re-initialized", but I hadn't tried to delete it and recreate it. I just did, so I'll see how it works tomorrow morning.
April 24, 2007
11:07AM | #
@Bernie: What do you know? That worked... the scheduled task ran this morning. I just hope it stays that way! ;)
April 24, 2007
12:45PM | #
Sweet! Glad I could help. I'll try to do my part by occasionally sending stability vibes out to your server. :)