Shortly after defining an “every 30 seconds” scheduled task in Lucee 5, it “expires” (i.e. it is shown with a pink background) and it never runs, even though I have not given it an end date. Nothing is logged. If I click Execute, the task runs correctly.
This leaves me unable to use scheduled tasks. My workaround is to use `cron` and `curl`.
I have not seen this happen on Lucee 4.5.
Can you please post a sample cfschedule snippet that you use?
Replace sensitive data such as private URLs and passwords, if any, with some fake values, but otherwise try not modify the code snippet itself.
cfm attached. this file can be run from a browser and the update to the scheduled task works; but the task never runs.
This issue is on our current task list so I will look into it soon. Thank you.
I believe the issue is on my end... we are using load balancing/proxy servers. We modified the configuration on the LBP node-servers to accept requests from specific internal-addresses. Also, added local-only mapping entries on the LUCEE processing node-server so that any outbound requests would go to the internal-interfaces of the LBP nodes.
Finally found an error message that said the connection was timing out, which helped lead us to this solution.
Thanks for your willingness to look deeper into Lucee for me.
Good timing – I was planning to look into this today.
Thank you for updating me.