Lucee Scheduled Tasks stops running under Windows 2012 Server

I have a Lucee task setup in Lucee Web Admin that is scheduled to run every
10 minutes. The task calls a local .cfm that looks for a file, if file
exists then send an email. It runs fine when “executed” by hand from Lucee
Web Admin. However, it will not run as scheduled. It runs as an admin user.
We are on Lucee 4.5.2.018. We arrived at this version by upgrading from
4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server Admin.
Please help.
Mike

Are there any error messages in the scheduler.log?On 16 May 2016 at 21:27, Mike Stephens <@Mike_Stephens> wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run every
10 minutes. The task calls a local .cfm that looks for a file, if file
exists then send an email. It runs fine when “executed” by hand from Lucee
Web Admin. However, it will not run as scheduled. It runs as an admin user.
We are on Lucee 4.5.2.018.

Are your site running under https?

First check the scheduler.log as per Julians adwise for errors.

If you have execution errors try to run the scheduled task on http and port
8888, bypassing the external webserver and execute the scheduled task
directly on tomcat.
This saves you a lot trouble with non-executed schedule tasks.

Example
Change from: https://mysite.com/yourfile.cfm
Change to: http://mysite.com:8888/yourfile.cfmOn Monday, May 16, 2016 at 10:31:58 PM UTC+2, Mike Stephens wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every 10 minutes. The task calls a local .cfm that looks for a file, if
file exists then send an email. It runs fine when “executed” by hand from
Lucee Web Admin. However, it will not run as scheduled. It runs as an admin
user. We are on Lucee 4.5.2.018. We arrived at this version by upgrading
from 4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server
Admin.
Please help.
Mike

Not running under https. Have no indications that the scheduled task has
stopped. Have set the task to write to an htm file in the root of C:\
everytime it runs. This file should always have a timestamp that is within
10 minutes of when you look its current timestamp. When the task stops this
file is no longer updated. The issue of course is the face that it just
stopped on its own. Am able to do an update to the task and then execute it
from the Lucee admin and the task start running again.On Saturday, May 21, 2016 at 11:17:30 AM UTC-4, David Eurenius wrote:

Are your site running under https?

First check the scheduler.log as per Julians adwise for errors.

If you have execution errors try to run the scheduled task on http and
port 8888, bypassing the external webserver and execute the scheduled task
directly on tomcat.
This saves you a lot trouble with non-executed schedule tasks.

Example
Change from: https://mysite.com/yourfile.cfm
Change to: http://mysite.com:8888/yourfile.cfm

On Monday, May 16, 2016 at 10:31:58 PM UTC+2, Mike Stephens wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every 10 minutes. The task calls a local .cfm that looks for a file, if
file exists then send an email. It runs fine when “executed” by hand from
Lucee Web Admin. However, it will not run as scheduled. It runs as an admin
user. We are on Lucee 4.5.2.018. We arrived at this version by upgrading
from 4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server
Admin.
Please help.
Mike

No errors in the scheduler.log file.On Tuesday, May 17, 2016 at 4:38:58 AM UTC-4, Julian Halliwell wrote:

Are there any error messages in the scheduler.log?

On 16 May 2016 at 21:27, Mike Stephens <mike...@gmail.com <javascript:>> wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every
10 minutes. The task calls a local .cfm that looks for a file, if file
exists then send an email. It runs fine when “executed” by hand from
Lucee
Web Admin. However, it will not run as scheduled. It runs as an admin
user.
We are on Lucee 4.5.2.018.

Update on what I’ve discovered so far. The task schedule is to run every 10
minutes. With the start date of 4/12/2016 and start time of 06:00:00 the
task will run till 23:50:00 and stop. It will then resume running at
06:00:00 the next day. I moved the 06:00:00 start time to 04:00:00 and the
task followed, it ran till 23:50:00 and the next day started back up at
04:00:00.
This task in on 11 virtual servers. 10 of them are fine, they run around
the clock as expected. But this one behaved completely differently. All
tasks were created by had in Lucee admin console. All setup exactly the
same. All
C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\scheduler\scheduler.xml file are
exactly the same.
Any idea’s out there?On Tuesday, May 24, 2016 at 10:39:22 AM UTC-4, Mike Stephens wrote:

Not running under https. Have no indications that the scheduled task has
stopped. Have set the task to write to an htm file in the root of C:\
everytime it runs. This file should always have a timestamp that is within
10 minutes of when you look its current timestamp. When the task stops this
file is no longer updated. The issue of course is the face that it just
stopped on its own. Am able to do an update to the task and then execute it
from the Lucee admin and the task start running again.

On Saturday, May 21, 2016 at 11:17:30 AM UTC-4, David Eurenius wrote:

Are your site running under https?

First check the scheduler.log as per Julians adwise for errors.

If you have execution errors try to run the scheduled task on http and
port 8888, bypassing the external webserver and execute the scheduled task
directly on tomcat.
This saves you a lot trouble with non-executed schedule tasks.

Example
Change from: https://mysite.com/yourfile.cfm
Change to: http://mysite.com:8888/yourfile.cfm

On Monday, May 16, 2016 at 10:31:58 PM UTC+2, Mike Stephens wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every 10 minutes. The task calls a local .cfm that looks for a file, if
file exists then send an email. It runs fine when “executed” by hand from
Lucee Web Admin. However, it will not run as scheduled. It runs as an admin
user. We are on Lucee 4.5.2.018. We arrived at this version by upgrading
from 4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server
Admin.
Please help.
Mike

Set the start time to 00:00 ?

I could imagine there’s a bug somewhere in the code that interprets the
intention of the scheduled task entry form.

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamediaOn Fri, Jun 3, 2016 at 5:01 PM, Mike Stephens <@Mike_Stephens> wrote:

Update on what I’ve discovered so far. The task schedule is to run every
10 minutes. With the start date of 4/12/2016 and start time of 06:00:00 the
task will run till 23:50:00 and stop. It will then resume running at
06:00:00 the next day. I moved the 06:00:00 start time to 04:00:00 and the
task followed, it ran till 23:50:00 and the next day started back up at
04:00:00.
This task in on 11 virtual servers. 10 of them are fine, they run around
the clock as expected. But this one behaved completely differently. All
tasks were created by had in Lucee admin console. All setup exactly the
same. All
C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\scheduler\scheduler.xml file are
exactly the same.
Any idea’s out there?

On Tuesday, May 24, 2016 at 10:39:22 AM UTC-4, Mike Stephens wrote:

Not running under https. Have no indications that the scheduled task has
stopped. Have set the task to write to an htm file in the root of C:
everytime it runs. This file should always have a timestamp that is within
10 minutes of when you look its current timestamp. When the task stops this
file is no longer updated. The issue of course is the face that it just
stopped on its own. Am able to do an update to the task and then execute it
from the Lucee admin and the task start running again.

On Saturday, May 21, 2016 at 11:17:30 AM UTC-4, David Eurenius wrote:

Are your site running under https?

First check the scheduler.log as per Julians adwise for errors.

If you have execution errors try to run the scheduled task on http and
port 8888, bypassing the external webserver and execute the scheduled task
directly on tomcat.
This saves you a lot trouble with non-executed schedule tasks.

Example
Change from: https://mysite.com/yourfile.cfm
Change to: http://mysite.com:8888/yourfile.cfm

On Monday, May 16, 2016 at 10:31:58 PM UTC+2, Mike Stephens wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every 10 minutes. The task calls a local .cfm that looks for a file, if
file exists then send an email. It runs fine when “executed” by hand from
Lucee Web Admin. However, it will not run as scheduled. It runs as an admin
user. We are on Lucee 4.5.2.018. We arrived at this version by upgrading
from 4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server
Admin.
Please help.
Mike


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/d1ceff2b-953a-4594-ba86-22682e03e216%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d1ceff2b-953a-4594-ba86-22682e03e216%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Set the start time to 00:00:00 and the task will now run around the clock.
However, this doesn’t explain why the other 10 virtual machines are able to
run around the clock every 10 minutes with a start time of 06:00:00. I’ll
take this as a win but still concerned that there is some sort of program
bug in the Lucee task scheduler that needs to be fixed.On Saturday, June 4, 2016 at 5:43:03 PM UTC-4, Nando Breiter wrote:

Set the start time to 00:00 ?

I could imagine there’s a bug somewhere in the code that interprets the
intention of the scheduled task entry form.

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Fri, Jun 3, 2016 at 5:01 PM, Mike Stephens <mike...@gmail.com <javascript:>> wrote:

Update on what I’ve discovered so far. The task schedule is to run every
10 minutes. With the start date of 4/12/2016 and start time of 06:00:00 the
task will run till 23:50:00 and stop. It will then resume running at
06:00:00 the next day. I moved the 06:00:00 start time to 04:00:00 and the
task followed, it ran till 23:50:00 and the next day started back up at
04:00:00.
This task in on 11 virtual servers. 10 of them are fine, they run around
the clock as expected. But this one behaved completely differently. All
tasks were created by had in Lucee admin console. All setup exactly the
same. All
C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\scheduler\scheduler.xml file are
exactly the same.
Any idea’s out there?

On Tuesday, May 24, 2016 at 10:39:22 AM UTC-4, Mike Stephens wrote:

Not running under https. Have no indications that the scheduled task has
stopped. Have set the task to write to an htm file in the root of C:\
everytime it runs. This file should always have a timestamp that is within
10 minutes of when you look its current timestamp. When the task stops this
file is no longer updated. The issue of course is the face that it just
stopped on its own. Am able to do an update to the task and then execute it
from the Lucee admin and the task start running again.

On Saturday, May 21, 2016 at 11:17:30 AM UTC-4, David Eurenius wrote:

Are your site running under https?

First check the scheduler.log as per Julians adwise for errors.

If you have execution errors try to run the scheduled task on http and
port 8888, bypassing the external webserver and execute the scheduled task
directly on tomcat.
This saves you a lot trouble with non-executed schedule tasks.

Example
Change from: https://mysite.com/yourfile.cfm
Change to: http://mysite.com:8888/yourfile.cfm

On Monday, May 16, 2016 at 10:31:58 PM UTC+2, Mike Stephens wrote:

I have a Lucee task setup in Lucee Web Admin that is scheduled to run
every 10 minutes. The task calls a local .cfm that looks for a file, if
file exists then send an email. It runs fine when “executed” by hand from
Lucee Web Admin. However, it will not run as scheduled. It runs as an admin
user. We are on Lucee 4.5.2.018. We arrived at this version by upgrading
from 4.5.1.000 to 4.5.1.022 to 4.5.2.018 by updating from the Lucee Server
Admin.
Please help.
Mike


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/d1ceff2b-953a-4594-ba86-22682e03e216%40googlegroups.com
https://groups.google.com/d/msgid/lucee/d1ceff2b-953a-4594-ba86-22682e03e216%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.