Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Feb 04, 2016 @ 10:24
    Damon
    0

    Should the built in Umbraco scheduled Tasks work on locahost when developing?

    Hi,

    I want to implement a scheduled task using the built in Umbraco functionality. I understand the timing when using the app pool is not accurate but this is fine for what I need it for.

    I added something like the following and ran the site on locahost through Visual Studio but it does not seem to be firing. Does this work on locahost and if so how do I debug it?

    <scheduledTasks>
    <!-- add tasks that should be called with an interval (seconds) -->
    <task log="true" alias="test60" interval="60" url="http://example.com/umbraco/surface/controller/action"/> 
    

    Thanks

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 04, 2016 @ 19:12
    Jan Skovgaard
    1

    Hi Damon

    It should work - However I'm unsure that you're referring the absolute path for the sake of the example or if you have an absolute path with a specific domain in your config as well? You should be able to use the relative path if I remember correctly...At least it's worth trying I think.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft