Deleted scheduled tasks continue to run

Hello All,
After recently patching a lucee install from 5.3.9.141 to 6.0.3.1 I noticed my testing system was not removing scheduled tasks properly. I am creating schedule tasks in code, then deleting in code and watching my access logs continue to show calls to the task.
The schedule task is no longer listed in the admin interface but continues running in the background until Lucee is restarted.
After rolling back and working through the patches I have noticed that the issue starts after 6.0.0.585. The system deletes scheduled tasks cleanly in 6.0.0.585 but once I patch to 6.0.1.83, scheduled tasks seem to keep running in memory until a Lucee restart.

Has anyone else experienced this issue? It may be related to this post but it seems a little different.

OS: Windows 11
Java Version: 11.0.11 (AdoptOpenJDK) 64bit
Tomcat Version: Apache Tomcat/9.0.4
Lucee Version: 6.0.0.585 works, patch to 6.0.1.83 and the tasks continue running

Are you running in single or multimode? Does changing the mode also change that scheduler behavior?

Hi,

Can confirm we are seeing this too. Switching from single mode to multi mode did not help unfortunately.

Cheers,

Chris

Hi Andreas,
We are running in multi mode.
I have not seen a difference switching.
Regards,
Chad

We’ve added the issue here:

https://luceeserver.atlassian.net/browse/LDEV-5097

1 Like