Copy link to clipboard
Copied
I am running CF 9 on 2003 server.
My scheduled tasks do not seem to run when scheduled. Sometimes they run a couple times, then they stop again. I only know they ran because of the entries in the log file. The task runs fine if i amually run it from the scheduled tasks page.
Is there any other way to know if a scheduled task is running except for the log file?
what could be causing this.
This sounds like it could be a permissions issue. I have always had problems with scheduled tasks connecting to an HTTPS (SSL) url. Have you tried running the scheduled task from an unsecured location? You may also want to try creating a local service account that CF can use in order to log in over the SSL connection.
Copy link to clipboard
Copied
At the bottom of the Schedule Task Form, check the "Save output to a file" box and fill in the "File" field with a file path and file name.
The task will then save whatever output is generated by the task to a file.
This can often give good hints when it is some network or web server issue causing the failures.
HTH
Ian
Copy link to clipboard
Copied
Thanks for the quick reply.
I already did that. It doesn't produce anything because it doesn't run.
Copy link to clipboard
Copied
Did you create the task using CFSCHEDULE or in the administrator?
Copy link to clipboard
Copied
In the administrator.
Copy link to clipboard
Copied
This sounds like it could be a permissions issue. I have always had problems with scheduled tasks connecting to an HTTPS (SSL) url. Have you tried running the scheduled task from an unsecured location? You may also want to try creating a local service account that CF can use in order to log in over the SSL connection.
Copy link to clipboard
Copied
I first tried to run it on a nonsecured site and it did acted the same.
i will make the change however again and see if it runs.
Here is the last sched task log entries of when it ran last.
Jun 30, 2010 | 9:21 AM | Information | jrpp-3 | |
[Popreader] Activating2 on Wed Jun 30 09:21:33 EDT 2010 To run on Wed Jun 30 18:45:00 EDT 2010 | ||||
Jun 30, 2010 | 8:05 AM | Information | main | |
[EmailBatch] Activating2 on Wed Jun 30 08:05:13 EDT 2010 To run on Wed Jun 30 18:26:00 EDT 2010 | ||||
Jun 30, 2010 | 8:05 AM | Information | main | |
[Popreader] Activating2 on Wed Jun 30 08:05:13 EDT 2010 To run on Wed Jun 30 18:45:00 EDT 2010 | ||||
Jun 30, 2010 | 7:45 AM | Information | main | |
[EmailBatch] Activating2 on Wed Jun 30 07:45:23 EDT 2010 To run on Wed Jun 30 18:26:00 EDT 2010 | ||||
Jun 30, 2010 | 7:45 AM | Information | main | |
[Popreader] Activating2 on Wed Jun 30 07:45:23 EDT 2010 To run on Wed Jun 30 18:45:00 EDT 2010 |
since then it hasb't run from scheduled tasks at all.
It isn't trying and failing, It is not even trying.
Copy link to clipboard
Copied
I made it run on an unsecured site and it worked.
That's it,
Thanks