Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Apr 27, 2010 @ 11:39
    Jeroen Breuer
    0

    Scheduler doesn't run

    Hello,

    I've installed the scheduler and created a scheduled task. The test should have run today, but I believe it didn't. I haven't received an e-mail and I can't find anything in the Umbraco log. Is there any way to check if the scheduler runs?

    Jeroen

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Apr 27, 2010 @ 12:35
    Richard Soeteman
    0

    Hi Jeroen,

    Could this be related to your other post? There are a few things to check.

    - Check that the correct url is stored in the scheduled task element of the UmbracoSettings.Config file.

    - Check that the server can access both the path to the handler and the configured url (I've seen this fail a couple of times, Firewall was causing the issue)

    - Make sure the website is visited so the website stays alive.

    Hope it helps you,

    Richard

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Apr 27, 2010 @ 13:13
    Jeroen Breuer
    0

    Hi Richard,

    Thank you for the info. I've looked at the UmbracoSetting.Config file and this is what I found:

      <scheduledTasks>
        <!-- add tasks that should be called with an interval (seconds) -->
        <!--    <task log="true" alias="test60" interval="60" url="http://localhost/umbraco/test.aspx"/>-->
        <task log="false" alias="TaskScheduler" interval="60" url="http://localhost/umbraco/plugins/TaskScheduler/handlers/ScheduledTaskHandler.ashx" />
      </scheduledTasks>

    This website runs in a test environment which is not local. Did something went wrong with this? 

    I've also discovered not all rights were correct so maybe I need to reinstall the package. Can I just uninstall it and reinstall it? It also added extra tables to the database so I'm not sure if this causes any trouble.

    Jeroen

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Apr 27, 2010 @ 15:36
    Richard Soeteman
    0

    Hi Jeroen,

    I think you just can modify localhost to the url you need for the test site. If you have taskschedule tables in the database then I guess you don;t have to reinstall. I don't think its a problem to reinstall the package, just make a backup before you do.

    Cheers,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft