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

Scheduled tasks in CF8

Contributor ,
Feb 20, 2009 Feb 20, 2009
I am trying to run some scheduled tasks on CF8, but keep getting the following error:

There was an error running your scheduled task. Reasons for which scheduled tasks might fail include:

The scheduled task is paused
The URL is a redirection URL.
The URL is protected by IIS NT Challenge/Response or Apache .htaccess password. The Username and Password text fields for editing a scheduled task are intended to support Basic Authentication only.
The Domain Name lookup failed. Try using the IP address of the domain whenever possible.
The URL is an SSL site, but the SSL port was specified incorrectly.
The Web site is not responding.
The directory specified for published results does not exist.

Running the task by visiting the URL works fine.
I have set IIS to 'Enable anonymous access' for the directory containing the files to by run by the scheduled task.

Anyone have any ideas?

Thanks,
Paul
2.7K
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
LEGEND ,
Feb 20, 2009 Feb 20, 2009
Outside5.com wrote:
> Anyone have any ideas?

Any hints in the CF or IIS logs ?

--
Mack
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
Contributor ,
Feb 20, 2009 Feb 20, 2009
Cheers Mack.

There is nothing under todays date in the application, eventgateway or server log files in coldfusion, and nothing for today in Event Viewer in windows.

Anywhere else I should be looking?
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
Contributor ,
Feb 20, 2009 Feb 20, 2009
Looking into the scheduler log (was not activated initially) I can see the following happening each time my task is due to run:

[myTaskName] Executing at Fri Feb 20 12:56:44 GMT 2009

[myTaskName] Rescheduling for :Fri Feb 20 12:57:45 GMT 2009 Now: Fri Feb 20 12:57:04 GMT 2009

Connection Failure: Status code unavailable

Error while executing task Connection Failure: Status code unavailable
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
LEGEND ,
Feb 20, 2009 Feb 20, 2009
Outside5.com wrote:
> Connection Failure: Status code unavailable
>
> Error while executing task Connection Failure: Status code unavailable

This looks like a firewall or DNS issue on the CF server or the page
host (if they are different).

--
Mack
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
LEGEND ,
Feb 23, 2009 Feb 23, 2009
LATEST
Outside5.com wrote:
> Running the task by visiting the URL works fine.
> I have set IIS to 'Enable anonymous access' for the directory containing the
> files to by run by the scheduled task.
>


But have you *disabled* any other security settings? If any other
security option is selected as well as 'anonymous access' then that will
over ride anonymous access and would easily block scheduled tasks.
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