Scheduled tasks appear to be executing rwice in CF2021
Howdy,
Recently migrated from CF2016 to CF2021- it seems to have gone relatively smoothly, except we have at least some scheduled tasks that appear to be firing twice.
This is a single standalone server.
New install of CF2021 on it.
No dev server running- this is it for now.
A check of the Task Manager appears to show only one instance of CF running.
scheduler.log shows the task firing only once ar a given time.
But the task code has a CFLOG at the top that writes to a separate log file, and it is chock full of lines like:
"Information","ajp-nio-127.0.0.1-8020-exec-188","10/30/21","13:30:00","APPName","Task Start- Check Interval Start: 2021-10-30T17:00:02 End: 2021-10-30T17:15:00"
"Information","ajp-nio-127.0.0.1-8020-exec-140","10/30/21","13:30:00","APPName","Task Start- Check Interval Start: 2021-10-30T17:00:02 End: 2021-10-30T17:15:00"You can see the entries are the same except for the thread IDs, and the task is essentially run twice, with mayhem ensuing. Looking for any ideas to track this down. Either we misconfigured CF on the new server, or missed something with the scheduled task setup, but can't think what. This all ran fine on the old server, which was a co-lo shared box- the new server is on AWS, so there's no chance of crossover. I just checked and CF is not running on the old server.
Thanks for your help.
