Skip to main content
Participant
September 16, 2008
Question

Scheduled Tasks dont work at all!!!! CF8

  • September 16, 2008
  • 2 replies
  • 630 views
I am using CF8 with 8.0.1 update. I have been using CF for about 4 years now and am very familiar with using the scheduled tasks from the CF Admin. This is my first time however using the scheduled tasks in CF8. I cannot get it to work at all. The role of my CF page is to query a database and create pdf reports. If you execute the CF page manually it works without any issues. If you try to schedule it the scheduled task does not even try to run. If you manually execute the task through the CF Admin it says that the task was processed successfully and it is immediate. With no hesitation you will get a successfull message but that is impossible because it takes at least 15 - 20 seconds to run the page manually and of course, there is no result after the task says it was ran. I have looked at authentication, timeout, etc. What gives? I have even tried simple tasks like "Hello World" type pages and nothing. I love CF8 but this task thing is a must, I need this! Please help!
    This topic has been closed for replies.

    2 replies

    BLEEDGRNAuthor
    Participant
    September 16, 2008
    That fixed it! It was the Windows Intergrated Security. If you enable Annonymous Logins it fixes it. Thanks!!!!!!
    Inspiring
    September 16, 2008
    It ain't CF8. I run schedule tasks all day long on my CF8 with no problem.

    Are you capturing the output of the Schedule Task? If so what is that
    output. Is it perchance some type of http error?

    95.673% of the time I have seen "...If you execute the CF page manually
    it works without issues. If you try to schedule it the task does not
    even try to run..." The problem has been a web site configured to use
    'Integrated Windows Security' in IIS. Of course since ColdFusion does
    not use a Windows browser to make the http request for the schedule
    task, it can not access such resources.

    BLEEDGRNAuthor
    Participant
    September 16, 2008
    Thanks for the reply. Yes I thought of that too, the "Intergrated Windows Security" thing. I had no issues in the past using Windows Security but maybe there is something new with CF8. I will try turning it off.