Question
Baffled! Scheduled Tasks Runs Twice in Parallel Every Time!!
I have a scheduled task that sends out a bunch of newsletters
every day. It has been running smoothly for more than a year when
it suddenly started to run twice - sending out the emails twice and
updating the count twice. There have ben no changes to the source
code, hardware, operating system, etc. The only change is that
upgraded from MX7 to CF8.
Each time it sends a newsletter out it adds a record to a log table that is incremented automatically. From the sequencing of these records I know that it is actually running the stored procedured twice in parrallel in as much as the record ids on the duplicate records are always from 1 to 9 records apart whereas the set is more than 175 records long (the sequence gap should be at 175 records apart if it was run sequentially.
Also, the CF scheduler log only records the task as having run once. Other scheduled tasks also run twice.
The server is a Dell 1950 Dual Zeon server. CF8 is ver. 8,0,1,195765 Standard running on Windows 2003 Standard server. I am baffled as I see nothing in the code that would do this and since it worked just fine in MX7.
Any ideas anyone?????
Each time it sends a newsletter out it adds a record to a log table that is incremented automatically. From the sequencing of these records I know that it is actually running the stored procedured twice in parrallel in as much as the record ids on the duplicate records are always from 1 to 9 records apart whereas the set is more than 175 records long (the sequence gap should be at 175 records apart if it was run sequentially.
Also, the CF scheduler log only records the task as having run once. Other scheduled tasks also run twice.
The server is a Dell 1950 Dual Zeon server. CF8 is ver. 8,0,1,195765 Standard running on Windows 2003 Standard server. I am baffled as I see nothing in the code that would do this and since it worked just fine in MX7.
Any ideas anyone?????
