Scheduled tasks expire without end date

Description

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.

Environment

Ubuntu 16.04

Activity

Show:
Igal Sapir
May 7, 2018, 9:13 PM

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.

Thanks you.

Marilou Landes
May 7, 2018, 9:20 PM


cfm attached. this file can be run from a browser and the update to the scheduled task works; but the task never runs.

Igal Sapir
May 7, 2018, 9:32 PM

This issue is on our current task list so I will look into it soon. Thank you.

Marilou Landes
May 15, 2018, 1:40 PM

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.

Igal Sapir
May 15, 2018, 3:47 PM

Good timing – I was planning to look into this today.

Thank you for updating me.

Fixed

Assignee

Igal Sapir

Reporter

Leon Miller-Out

Priority

Blocker

Labels

Fix versions

Affects versions

Configure