Lucee 5 ColdFusion Scheduled Tasks

Posted: June 21, 2017 in ColdFusion Servers
Tags: ,

Lucee 5.0 – 5.2.1.9 (current version) has a bug in scheduled tasks that seems to affect both Windows and Linux servers.

When scheduling a task, they end up getting marked as “expired” and never run. Not sure how this issue has made it this far into revisions, but as of this post it’s still an issue.

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

You can work around this issue using a cron job by way of curl.

On Windows you can use the Windows Task Scheduler and curl. Curl can be downloaded from https://curl.haxx.se/download.html

6/21/2017 – marked for “NextSprint scheduled”

Advertisements
Comments
  1. Gert Franz says:

    Hey Chris,
    I just tried this with the latest 5.2.2.54 and it works perfectly. Is there any circumstance which I might have forgotten?
    The JIRA Issue LDEV-897 is for Lucee 5.0.0.252 which is quite an old one.

    • Chris says:

      I haven’t dug into it that far Gert. There’s active updates on this issue even though its old. Other people’s are broken like me, while people trying to recreate it seems to work fine.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s