Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Scheduled tasks not running

Guest
Jun 30, 2010 Jun 30, 2010

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.

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Jun 30, 2010 Jun 30, 2010

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.

Translate
Valorous Hero ,
Jun 30, 2010 Jun 30, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 30, 2010 Jun 30, 2010

Thanks for the quick reply.

I already did that. It doesn't produce anything because it doesn't run.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 30, 2010 Jun 30, 2010

Did you create the task using CFSCHEDULE or in the administrator?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 30, 2010 Jun 30, 2010

In the administrator.

schedtask.gif

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 30, 2010 Jun 30, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 30, 2010 Jun 30, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 30, 2010 Jun 30, 2010
LATEST

I made it run on an unsecured site and it worked.

That's it,

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources