I am facing an issue with my CF11 scheduler and I was hoping someone can help.
My application has 2 servers which are load balanced. I have created a schedule through CF Admin console which is on one server. The scheduler just needs to run a URL which I have defined in the scheduler. When I run this URL manually (by copying it in the address bar and running it) it works fine. However, when I trigger it through the CF scheduler, it gives a message saying "This scheduled task was completed successfully."
But when I go to my log (scheduler.log), I see "404 Not Found". I do not understand what is stopping this from running through the scheduler.
We recently migrated from CF8 to CF11 and these scheduler used to run fine on CF8.
To add to my query, when I check my exceptions.log, I see the below error.
Not Found "
coldfusion.tagext.net.HttpTag$HttpTagNotFoundException: 404 Not Found
Are you sure the page you are running is on all the servers that the load balancers distribute traffic too?
Yes, the page is running on all servers and is load balanced. If there was an issue with that, the URL will not run when executed manually also.
The only other thing I can think of would be that you have a cfhttp tag inside the schedule that is trying to call a location that doesn't exist.