No, I added hangfire manually to Umbraco using hangfires nuget package, then a little bit of config in umbraco startup to sort out the dashboard.
I create jobs based on settings in a custom table, one of the jobs involves adding/updating product nodes to a shop.
Hangfire was pretty easy to add to 9/10 (a lot easier than 8) and works great for running jobs in the background. I can dig out some sample code if you are interested
Running a bunch of SaveAndPublish each hour
Hello,
What is the way to create a job that will be running each hour that contains many SaveAndPublish node creations?
Are async Tasks okay? Or maybe it's better to build a separate Windows service to avoid performance implications on the website?
Thanks, Alex
I use hangfire jobs for this kind of thing
do you use a package?
No, I added hangfire manually to Umbraco using hangfires nuget package, then a little bit of config in umbraco startup to sort out the dashboard. I create jobs based on settings in a custom table, one of the jobs involves adding/updating product nodes to a shop.
Hangfire was pretty easy to add to 9/10 (a lot easier than 8) and works great for running jobs in the background. I can dig out some sample code if you are interested
I found out that if I do this then it works.
A RecurringHostedService (v9) or BackgroundTaskRunner (v8) should do the job - https://our.umbraco.com/documentation/Reference/Scheduling/.
is working on a reply...