uSync.Complete.Hangfire
0.0.1
dotnet add package uSync.Complete.Hangfire --version 0.0.1
NuGet\Install-Package uSync.Complete.Hangfire -Version 0.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="uSync.Complete.Hangfire" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add uSync.Complete.Hangfire --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: uSync.Complete.Hangfire, 0.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install uSync.Complete.Hangfire as a Cake Addin #addin nuget:?package=uSync.Complete.Hangfire&version=0.0.1 // Install uSync.Complete.Hangfire as a Cake Tool #tool nuget:?package=uSync.Complete.Hangfire&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
uSync.Complete.Hangfire.
A collection of helper methods to run uSync.Complete commands as scheduled jobs (via hangfire)
Example: Push the whole site once a day.
RecurringJob.AddOrUpdate<ISyncPublisherScheduler>(
"Publish Site Content", x =>
x.PublishContent(-1, "target", PublishMode.Push,
new SyncSchedulerOptions
{
DependencyFlags = DependencyFlags.IncludeChildren
}, -1),
Cron.Daily());
Example: Create A Daily restore point
RecurringJob.AddOrUpdate<ISyncRestorePointScheduler>(
"Create restore point",
x => x.CreateRestorePoint("Daily."),
Cron.Daily());
Getting started.
You need to register add "uSyncHangfire" to your project.
e.g via a composer :
[ComposeAfter(typeof(uSyncPublishComposer))]
public class ScheduledSitePublishComposer : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
// add uSync hangfire support
builder.AdduSyncHangfire();
// your scheduled jobs can be added here....
}
}
See the examples in the repo for more.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Cultiv.Hangfire (>= 3.1.2)
- uSync.Expansions.Core (>= 13.1.0)
- uSync.Publisher (>= 13.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1 | 161 | 2/19/2024 |