Details
Details
Assignee
Unassigned
UnassignedReporter
John Wilson
John WilsonNew 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
Priority
Created 19 July 2021 at 16:42
Updated 19 July 2021 at 18:26
I have a need for a server that runs a coldbox application to start running that application whenever the server is launched, without needing to hit it with a web browser first. I understand that there is an onserverstart() function but it's hard to get to and manage with commandbox instances. Much easier would be the following code - when run once, without a start time param, it should create a scheduled task that starts running when the server comes up. Such a task should initialize the application automatically whenever the server is rebooted.