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

Attachments

2
  • 07 May 2018, 09:17 pm
  • 22 Jun 2017, 11:16 am

Activity

Igal Sapir 15 May 2018 at 15:47

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

Thank you for updating me.

Marilou Landes 15 May 2018 at 13:40

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 7 May 2018 at 21:32

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

Marilou Landes 7 May 2018 at 21:20


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 7 May 2018 at 21:13

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.

Fixed

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 23 June 2016 at 16:58
Updated 5 June 2020 at 15:09
Resolved 23 April 2018 at 19:29