Listing scheduled tasks from Lucee

Hi,

I currently setup scheduled tasks programmatically and they run and appear
fine when I view them in the /lucee/admin/web.cfm administrator.

However when running the below statement the query is empty (nothing to
list). Is there a special way to list the tasks that are scheduled in the
web context?

schedule action=“list” returnvariable=“tasks”;

Am I missing a parameter on the schedule statement?

cheers,
Bill

I’m using exactly that syntax and it works fine on 4.5.3. Is it
definitely being called within the same web context where your tasks
have been created?On 13 July 2016 at 04:03, Bill Tindal <@Bill_Tindal> wrote:

when running the below statement the query is empty (nothing to list). Is
there a special way to list the tasks that are scheduled in the web context?

schedule action=“list” returnvariable=“tasks”;

Am I missing a parameter on the schedule statement?

Hi Julian,

Yes the task is created under the same web context. For example:

https:///tasks/new
https:///tasks/list

I’m wondering if the attribute autodelete=true could have a bearing here? I
do have that on the tasks when they are created.

It’s very strange as I can visit the Lucee web context admin on
https:// and see the scheduled tasks sitting there.On Wednesday, 13 July 2016 17:47:13 UTC+10, Julian Halliwell wrote:

I’m using exactly that syntax and it works fine on 4.5.3. Is it
definitely being called within the same web context where your tasks
have been created?

On 13 July 2016 at 04:03, Bill Tindal <mal...@gmail.com <javascript:>> wrote:

when running the below statement the query is empty (nothing to list).
Is
there a special way to list the tasks that are scheduled in the web
context?

schedule action=“list” returnvariable=“tasks”;

Am I missing a parameter on the schedule statement?