Jobbr.Server 3.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Jobbr.Server --version 3.0.3
                    
NuGet\Install-Package Jobbr.Server -Version 3.0.3
                    
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="Jobbr.Server" Version="3.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jobbr.Server" Version="3.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Jobbr.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jobbr.Server --version 3.0.3
                    
#r "nuget: Jobbr.Server, 3.0.3"
                    
#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.
#:package Jobbr.Server@3.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jobbr.Server&version=3.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Jobbr.Server&version=3.0.3
                    
Install as a Cake Tool

Jobbr Build status

Jobbr is a .NET job server. It is designed to reduce artifical 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.

Master build status NuGet-Stable
Develop build status NuGet Pre-Release

Main Features

  • Isolation of Jobs on process-level
  • REST API to manage and trigger Jobs and watch the execution state
  • Provides a typed client to consume the REST API
  • Persists created files from running jobs in an artefact store.
  • Supports CRON expressions for recurring triggers
  • Embeddable in your own C# application (JobServer and Runner)
  • Easily testable
  • IOC for your jobs
  • Extendable (jobstorage providers, artefact storage providers, execution etc)
  • Progress tracking via stdout (Console.WriteLine())

QuickStart

The best way to get started is to check out the demo repo to see a running example of Jobbr.

Implementing a job

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
        }
    }
}

Configuring job with triggers

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.

Persistence

There are two different storages:

  • Storage: stores jobs, triggers and jobruns
  • ArtefactStorage: stores files created by running jobs

By default Jobbr runs in memory, thus all data is lost when Jobbr is restarted. To keep the data configure one of the storage providers:

Storage

ArtefactStorage

License

This software is licenced under GPLv3. See LICENSE, please see the related licences of 3rd party libraries below.

Acknowledgements

Jobbr Server is based on following great open source projects:

Credits

This application was built by the following awesome developers:

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.1.0 225 9/30/2025
3.0.3 269 6/3/2025
3.0.2 188 6/3/2025
3.0.1 11,736 8/21/2023
3.0.0 3,145 3/20/2023
1.6.0 609 11/2/2022
1.5.0-rc.2 482 4/17/2019
1.4.2 1,009 4/10/2019
1.4.1 857 4/10/2019
1.4.0 3,112 10/20/2018
1.3.0 1,124 10/5/2018
1.2.1 1,107 9/26/2018
1.2.0 1,078 9/26/2018
1.1.0 1,171 9/10/2018
1.0.1 2,065 6/22/2018
1.0.0 1,741 10/6/2017
0.0.31 1,695 1/6/2017
0.0.30 1,575 12/23/2016
0.0.29 1,732 11/8/2016
0.0.28 1,612 10/25/2016
0.0.27 1,547 10/19/2016
0.0.26 1,590 9/23/2016
0.0.25 1,476 9/23/2016
0.0.24 1,661 8/5/2016
0.0.23 1,487 8/5/2016
0.0.22 1,502 8/4/2016
0.0.21 1,531 4/12/2016
0.0.20 1,475 4/12/2016
0.0.19 1,643 7/7/2015
0.0.18 1,565 7/6/2015
0.0.17 1,578 7/6/2015
0.0.15 1,560 7/3/2015
0.0.14 1,638 6/15/2015
0.0.13 2,247 6/1/2015
0.0.12 1,610 4/8/2015
0.0.11 1,672 4/7/2015
0.0.10 1,701 4/2/2015
0.0.9 1,567 3/19/2015
0.0.8 1,586 3/19/2015
0.0.7 1,531 3/19/2015
0.0.6 1,543 3/18/2015
0.0.5 1,558 3/18/2015
0.0.4 1,532 3/13/2015
0.0.3 1,556 3/12/2015
0.0.2 1,532 3/12/2015