Copied to clipboard

Flag this post as spam?

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


  • Stone Yen 34 posts 55 karma points
    Nov 03, 2010 @ 04:19
    Stone Yen
    0

    scheduled task in UmbracoSettings.config

    good day folks,

        i have be crawling articles around about the fantastic scheduled task comes with Umbraco. i have finally had the chance to test it out, but unfortunately it doesnt work as expected. say, i have the following entry in <scheduledTasks> element,

    <task log="true" alias="XXX" interval="20" url="http://mydomain.com/umbraco/XXX.aspx" />

    i even restarted the application pool and the website, but still not looking good.

    any step i missed?

     

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Nov 03, 2010 @ 07:35
    Aaron Powell
    0

    I haven't used the scheduled tasks in Umbraco for years because trying to run a timer event in a web app is prone to errors (app pool going to sleep, etc).

    Have you checked the umbracoLog table to see if there are any errors, but unfortunately Umbraco actually swallows a lot of potential errors that can happen with the scheduled task system.

    Can't you run your task through a Windows Service, it's a lot more reliable in my opinion.

Please Sign in or register to post replies

Write your reply to:

Draft