I have seen this issue when the server cannot resolve the hostname in the url. The server/dns configuration meant that requests for the hostname from the server failed.
This seems unlikely as you have the task running every minute, but the site needs an active AppPool for the scheduled task to run. If the AppPool has been recycled the task won't run until the next request to be website.
scheduledTasks not working
Hello,
I've been using the simplest example of scheduledTasks:
The url is valid and public, it should send me an email when it is called for debugging reasons.
When calling this url from the browser I do get the email, but it seems it is not called by the task.
Haven't seen any log entry related to the task schedular.
My site is hosted on godaddy if that helps.
Hi Ran
I have seen this issue when the server cannot resolve the hostname in the url. The server/dns configuration meant that requests for the hostname from the server failed.
This seems unlikely as you have the task running every minute, but the site needs an active AppPool for the scheduled task to run. If the AppPool has been recycled the task won't run until the next request to be website.
Dallas
Hi,
Can't understand why the server cannot resolve the hostname, it is just a regular url - no an IP or server name.
Hi iv noticed this issue and put together an admin section that runs urls using Quartz.Net. https://our.umbraco.org/projects/backoffice-extensions/url-task-scheduler-for-v7/
is working on a reply...