Copied to clipboard

Flag this post as spam?

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


  • Richard Rees 27 posts 57 karma points
    Jun 30, 2018 @ 23:25
    Richard Rees
    0

    Task Scheduler on Umbraco Cloud?

    Hi.

    Is there a task scheduler on Umbraco Cloud? Some way I can write some code that has full access to the Umbraco api that I can run twice a day, for example?

    If so, can anyone point me towards any documentation?

    Thanks

    Rich

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Jul 01, 2018 @ 10:52
    Alex Skrypnyk
    0

    Hi Rich

    We are using this package - https://our.umbraco.com/projects/backoffice-extensions/url-task-scheduler-for-v7/

    It's really working for us.

    Thanks,

    Alex

  • Richard Rees 27 posts 57 karma points
    Jul 02, 2018 @ 09:29
    Richard Rees
    0

    Hi Alex,

    That seems like a really simple solution and perfect for the basic scheduling I want.

    As I have dev, staging and live environments on Umbraco Cloud, do you know how I would configure this?

    Would I install it on my local, push it to dev, staging and live and use relative urls?

    Or would I need to install it separately on each environment with domain included in the url?

    Thanks

    Rich

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Jul 02, 2018 @ 08:16
    Søren Gregersen
    0

    Have a look at hangfire - https://www.hangfire.io/

    Also read a bit more here: http://camaya.co/posts/2016/07/31/how-to-integrate-hangfire-with-umbraco/ http://www.jondjones.com/learn-umbraco-cms/umbraco-developers-guide/umbraco-event-handling/how-to-intergrate-hangfire-into-the-umbraco-backend

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jul 02, 2018 @ 10:09
    Dave Woestenborghs
    0

    Hi all,

    There is actually a package for easier integration of Hangfire in Umbraco : https://our.umbraco.com/projects/backoffice-extensions/ucronos/

    But must admit I haven't tried it yet.

    Dave

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Jul 02, 2018 @ 10:11
    Søren Gregersen
    0

    but erm:

    IMPORTANT NOTE: uCronos DOES NOT WORK WITH SQL CE. Only install uCronos if you have an external SQL Server database.

    Umbraco Cloud runs on SqlCE locally. I actally think that Hangfire also has issues with SqlCE

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jul 02, 2018 @ 10:21
    Dave Woestenborghs
    1

    You can change your local cloud to localDb or SQLExpress and then it should work.

    It actually create a localdb database if the installer can detect it : https://our.umbraco.com/documentation/Umbraco-Cloud/Databases/

    Dave

  • 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