I am on CF9 and all my scheduled jobs used to work but now all fail. After running them manually I get 7 error msgs. I eliminated those that don't apply and here is the one left that I don't understand. Has anyone seen it?
Scheduled tasks essentially run a CFHTTP call to run a CFM page. If that CFM file sits in a folder on your web server that is protected by authentication and authorization settings, then you have to set username/password on the scheduled task in order to pass the authentication. If you are using basic authentication, this works fine. If you are using Windows Authentication, it's a bit trickier. I can't remember how I've gotten around it in the past, but I think a similar question popped up recently on this forum.
On the project I'm working on, we had a similar problem. CFSchedule worked fine our dev server, but when we tried on Test and Production, the scheduled tasks didn't run. Test and Production on are on a secure server. Rather than passing the required credentials to get the scheduled tasks to run, we wrote a script in our login_setup.cfm. First we check if application.scheduledtaskDate is set. If it is not set, we set it to the day before today. Then we check if this application variable is less than today. If it is, we reset the variable to today, then call our scheduled functions. This way our scheduled tasks only run once per day.