Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ran Chen 40 posts 117 karma points
    Aug 14, 2015 @ 16:49
    Ran Chen
    0

    scheduledTasks not working

    Hello,

    I've been using the simplest example of scheduledTasks:

    <task log="true" alias="test60" interval="60" url="valid_url"/>
    

    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.

  • Dallas 133 posts 405 karma points
    Aug 15, 2015 @ 12:29
    Dallas
    0

    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

  • Ran Chen 40 posts 117 karma points
    Aug 15, 2015 @ 20:07
    Ran Chen
    0

    Hi,

    Can't understand why the server cannot resolve the hostname, it is just a regular url - no an IP or server name.

  • Andrew Ellis-chadwick 4 posts 114 karma points
    Oct 06, 2015 @ 13:01
    Andrew Ellis-chadwick
    0

    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/

Please Sign in or register to post replies

Write your reply to:

Draft