Skip to main content
Participant
September 19, 2006
Question

cfschedule tasks not running

  • September 19, 2006
  • 1 reply
  • 1154 views
Hello All,

Im on CFMX 7.0.2, WIndows 2003 server, IIS 6.0.

Scheduled tasks do not run, and if I create a log file, it says "CONNECTION FAILURE", when I 'manually run' these from the cfadmin panel.

I can run these .cfm pages from any web browser, they just don't run as a scheduled task (and i am setting up the task in cfadmin, and everything looks fine).

I have tried to change file permissions on the FILE in IIS to 'basic authentication' (still have allow anonymous access checked' and still the log file says 'connection failure' and they do not run (even though in cfadmin it says they did run.

Anyone figure out how to fix this?

(They all ran fine on a different server 7.0.1)..

Regards,

Matts
    This topic has been closed for replies.

    1 reply

    Inspiring
    September 19, 2006
    Matt,

    Maybe check what user account the ColdFusion server service is running under in the Services control panel? Ensure that the account it is using has the permissions you expect - yes, even when you have allow anonymous access checked.

    HTH
    Swift
    MediaDocAuthor
    Participant
    September 20, 2006
    Thanks for the response...

    The CF Server is running as "Local System"... and I tried to switch this to Administrator.. no luck...

    I've turned off allow anonymous access, turned it on, changed users (in IIS) all no luck... always the same "connection failure"

    I've tried IP based access, or www.domain.com access. no luck.

    So to summarize:

    CF server running as "Local System"
    File in IIS is set to "allow anonymous access" AND have tried both windows integrated and basic checked and unchecked (in all combinations).

    From windows explorer I have changed file security to "EVERYONE FULL ACCESS" and set all IUSR to full control.. no luck

    I am using PLESK to setup domains, and wonder if this has something to do with it (although they work fine on our other servers).

    Regards,

    Matt

    MediaDocAuthor
    Participant
    September 20, 2006
    After a bit more investigation it seems that if the URL string in scheduler is like

    http://www.domain.com/file.cfm THIS DOES NOT WORK

    but
    http://127.0.0.1/path to virtual host/file.cfm -- then things work fine... so its a DNS lookup issue???!!! Anyone have a way around this? (I dont have dedicated IP's for all my domains).

    Matts