Copied to clipboard

Flag this post as spam?

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


  • Dee 118 posts 338 karma points
    Oct 14, 2020 @ 14:32
    Dee
    0

    U8 - Recurring Tasks vs Hangfire

    Hey Guys,

    due to this forum post, the recurring tasks have been removed from Umbraco in version 8:

    https://our.umbraco.com/forum/umbraco-8/98280-scheduled-tasks-in-umbraco-8-no-longer-available

    There are some recommendations for using Hangfire instead and also a good documentation by Sebastiaan here:

    https://cultiv.nl/blog/using-hangfire-for-scheduled-tasks-in-umbraco/

    But I also found this documentation related to U8 and recurring tasks: https://our.umbraco.com/documentation/Reference/Scheduling/

    Now I am a bit confused, since the forum post and Sebastiaan's blog post are mentioning that recurring tasks have been removed from U8 but the documentation is saying something else.

    What is then the best practice to implement recurring tasks in U8?

    Thanks

    Dee

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Oct 14, 2020 @ 14:42
    Sebastiaan Janssen
    100

    The OLD (v7) recurring tasks have been removed, they've been replaced by the BackgroundTaskRunner as you found in the docs.

    The BackgroundTaskRunner doesn't have a user interface, so you will need to observe logs or something to see how they're doing.

    I LOVE Hangfire because it has a nice UI that I can use to see if everything is running great, what problems there may be and triggering tasks manually.

    Up to you what you want to use!

  • Dee 118 posts 338 karma points
    Oct 14, 2020 @ 14:47
    Dee
    0

    many thanks Sebastiaan!

Please Sign in or register to post replies

Write your reply to:

Draft