Scheduled Tasks NOT rescheduling
Hey folks,
I'm using CF 9 on a Windows 2008 system and having an odd problem in which after a schedule task executes, it does not always reschedule. For one, it's a simple CF page that calls a Storedprocedure that runs for a few hours to process some data. I have that system setup to email me when it starts and when it ends. It ran fine for a couple days but then I noticed that it DID NOT run last night and checking the logs for scheduled tasks, there is not a log entry where it rescheduled it for the next morning. The SP runs fine, just takes a while to complete. So I'm thinking there may be some sort of bug but I'm not sure. But it ran yesterday and I received both emails meaning it seemingly finished but then never rescheduled.
Actually, I wonder if the job could be "still running" or hung somewhere? Even though I got both emails. I ask that because I have a second job that does basically the same thing, it starts, sends me a beginning email, does the job, sends me an ending email, then does NOT reschedule. So I guess I have 2 jobs doing the same thing. Is there a way I can look at any thread information to see if the thread ever ended?
Here's the code of the CFM page being executed:
<cfmail to="srushing@XXXX.com" from="srushing@XXXX.com" subject="Running New Ratings Calc" server="relay.XXXX.com">
Ran at #now()#
</cfmail>
<cfstoredproc procedure="RatingSummaryCalculation" datasource="YYYY">
<cfprocresult name="result" resultset="1">
</cfstoredproc>
<cfmail to="srushing@XXXX.com" from="srushing@XXXX.com" subject="Running New Ratings Calc - Finished" server="relay.XXXX.com">
Ran at #now()#
</cfmail>
