![]() |
VOOZH | about |
dotnet add package Jobbr.Server --version 3.1.0
NuGet\Install-Package Jobbr.Server -Version 3.1.0
<PackageReference Include="Jobbr.Server" Version="3.1.0" />
<PackageVersion Include="Jobbr.Server" Version="3.1.0" />Directory.Packages.props
<PackageReference Include="Jobbr.Server" />Project file
paket add Jobbr.Server --version 3.1.0
#r "nuget: Jobbr.Server, 3.1.0"
#:package Jobbr.Server@3.1.0
#addin nuget:?package=Jobbr.Server&version=3.1.0Install as a Cake Addin
#tool nuget:?package=Jobbr.Server&version=3.1.0Install as a Cake Tool
Jobbr is a .NET job server. It is designed to reduce artificial complexity when a job server is needed in a project. Jobbr tries to get out of your way as much as possible so that you can focus on business logic. Job implementations have no dependency to Jobbr which makes it easy to integrate Jobbr in any .NET project.
👁 GitHub Checks
👁 NuGet-Stable
👁 NuGet Pre-Release
Console.WriteLine())The best way to get started is to check out the demo repo to see a running example of Jobbr.
Good news! All your C#-Code is compatible with jobbr as long as the CLR-type can be instantiated and has at least a public Run()- Method.
public class SampleJob
{
public void Run()
{
const int iterations = 15;
for (var i = 0; i < iterations; i++)
{
Thread.Sleep(500);
Console.WriteLine("##jobbr[progress percent='{0:0.00}']", (double)(i + 1) / iterations * 100); // optional: report progress
}
}
}
To define jobs use the AddJobs extension method:
jobbrBuilder.AddJobs(repo =>
{
// define one job with two triggers
repo.Define("SampleJob", "Quickstart.SampleJob")
.WithTrigger(DateTime.UtcNow.AddHours(2)) /* run once in two hours */
.WithTrigger("* * * * *"); /* run every minute */
});
If you need to add triggers at runtime head over to the REST API component which also includes a typed client. The REST API is optional and has to be plugged in if needed.
There are two different storages:
Storage: stores jobs, triggers and jobrunsArtefactStorage: stores files created by running jobsBy default Jobbr runs in memory, thus all data is lost when Jobbr is restarted. To keep the data configure one of the storage providers:
This software is licenced under GPLv3. See , please see the related licences of 3rd party libraries below.
Jobbr Server is based on following great open source projects:
This application was built by the following awesome developers:
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.