Copied to clipboard

Flag this post as spam?

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


  • Michal Koblasa 45 posts 139 karma points
    Mar 17, 2016 @ 08:38
    Michal Koblasa
    0

    Umbraco Settings - Scheduled tasks

    Hello, it is possible to set relative URL in umbraco settings scheduler. Because we using SSl for whole site and in development we use different address and without SSL:

    <scheduledTasks>
        <task log="true" alias="test60" interval="60" url="http://domain.com/umbraco/test.aspx"/>
    </scheduledTasks>
    

    I tried, but it did not work:

      <task log="true" alias="test60" interval="60" url="//umbraco/test.aspx"/>
    

    Thank you

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Mar 17, 2016 @ 09:34
    Dennis Adolfi
    100

    Im not sure but i found this on a legacy wiki page: https://our.umbraco.org/wiki/install-and-setup/scheduled-tasks/

    NOTE: Url must be absolute

    Also this old discussion: https://our.umbraco.org/forum/developers/extending-umbraco/6538-Scheduled-tasks-not-working

    Relative paths don't work. you need to enter the full url( http://mydomain.com/indstillinger.aspx) . And then it will work....

  • Michal Koblasa 45 posts 139 karma points
    Mar 17, 2016 @ 10:02
    Michal Koblasa
    0

    Ok, thank you. So i will keep only production urls in repo :-(.

    Thank you anyway.

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Mar 17, 2016 @ 10:05
    Dennis Adolfi
    0

    Sorry for bringing bad news. :(

    Much appreciated if you´d still mark this as solution, so it might help others.

    Have a great day!

  • Michal Koblasa 45 posts 139 karma points
    Mar 17, 2016 @ 10:30
    Michal Koblasa
    1

    Ok. But, i would like to have another solution. :-)

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Mar 17, 2016 @ 10:32
    Dennis Adolfi
    0

    Haha ok. Then you should not mark as solition, only if it helped you!

    Have a great day!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies