Cronitor.TickerQ 10.4.78

dotnet add package Cronitor.TickerQ --version 10.4.78
                    
NuGet\Install-Package Cronitor.TickerQ -Version 10.4.78
                    
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="Cronitor.TickerQ" Version="10.4.78" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cronitor.TickerQ" Version="10.4.78" />
                    
Directory.Packages.props
<PackageReference Include="Cronitor.TickerQ" />
                    
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 Cronitor.TickerQ --version 10.4.78
                    
#r "nuget: Cronitor.TickerQ, 10.4.78"
                    
#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 Cronitor.TickerQ@10.4.78
                    
#: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=Cronitor.TickerQ&version=10.4.78
                    
Install as a Cake Addin
#tool nuget:?package=Cronitor.TickerQ&version=10.4.78
                    
Install as a Cake Tool

Cronitor.TickerQ

Reports every TickerQ cron job to Cronitor: run when the job starts, complete when it succeeds, and fail, with the exception's message, when it fails.

Nuget Nuget

Install

dotnet add package Cronitor.TickerQ

The package's major version matches TickerQ's, which ships one major per .NET version:

Cronitor.TickerQ TickerQ .NET
10.x 10.4.0 or later .NET 10
9.x 9.3.0 or later .NET 9
8.x 8.3.0 or later .NET 8

dotnet add package picks the latest version, which is for .NET 10. On .NET 8 or 9, pick the version matching your TickerQ, for example dotnet add package Cronitor.TickerQ --version 8.*.

Setup

Register Cronitor with .ConfigureCronitor(), then call AddCronitorTickerQ() after AddTickerQ():

using Cronitor.Extensions;
using Cronitor.TickerQ;
using TickerQ.DependencyInjection;

var builder = WebApplication.CreateBuilder(args);
builder.Host.ConfigureCronitor((context) => context.Configuration.GetValue<string>("Cronitor:ApiKey"));
builder.Services.AddTickerQ();
builder.Services.AddCronitorTickerQ();

var app = builder.Build();
app.UseTickerQ();
app.Run();

AddCronitorTickerQ() wraps the job handler AddTickerQ() registers, so it must come after it; otherwise it throws at startup.

What is reported

Every cron job occurrence is reported once: run when it starts, then, depending on how TickerQ ends it:

TickerQ ends the job as Reported to Cronitor
Done complete
Failed fail, with the exception's message
Cancelled while the application stops abandoned, with "The service went offline"
Cancelled while the application runs fail, with "The job was cancelled"
Skipped, when the job throws TickerQ's TerminateExecutionException complete, with the job's message

A job abandoned because the application stops isn't reported as failed, so a deploy or restart doesn't make the monitor fail, and Cronitor keeps the run open until the job runs again.

TickerQ retries a failing job within the same occurrence, so a job that succeeds on a retry is reported as complete. One-off jobs, scheduled with TickerQ's time tickers, are not reported, since they have no schedule for Cronitor to monitor.

Monitor keys

A cron job reports to the monitor with the same key as its function name, the name in [TickerFunction("…")]. Cron tickers that run the same function share its monitor. Cronitor doesn't accept / in a monitor key, so a / in the function name becomes -: a function reports/daily reports to reports-daily. Functions reports/daily and reports-daily would therefore share a monitor; rename one of them to keep them apart. A monitor key can be at most 100 characters: a function whose key would be longer isn't reported or synced, and the reason is logged.

Schedules

A monitor created by a job's first report has no schedule, so Cronitor alerts when the job fails but not when it doesn't run at all. To give each cron job's monitor the schedules of its cron tickers, add schedule sync after AddTickerQ():

builder.Services.AddTickerQ();
builder.Services.AddCronitorTickerQ();
builder.Services.AddCronitorTickerQScheduleSync();

Once the application has started, the enabled cron tickers in TickerQ's store, both those from [TickerFunction] and those added with ICronTickerManager, are sent to Cronitor in one request, in the background. They are sent with TickerQ's time zone, SchedulerTimeZone, which is the machine's local time zone unless you set it. Only the schedules and time zone are set; everything else on the monitor, such as its name and alerts, is kept. Cron tickers added later get their schedules at the next start.

A schedule is only synced when Cronitor reads it the same way as TickerQ: a cron expression whose seconds aren't 0, that restricts both the day of the month and the day of the week (TickerQ then needs both to match, Cronitor either), that has a range running backwards, such as 22-2, or that uses full day names, such as Sunday, isn't synced; the reason is logged. All the cron tickers of a function are synced together. Schedule sync needs dependency injection.

Errors

Reporting never affects your jobs: reports are sent in the background, so a job never waits for Cronitor. If a report can't be sent, the job still runs, and the error is logged through the host's logging. When the application stops, TickerQ cancels the jobs still running; the outcome of those jobs, and of reports still being sent, is waited for up to five seconds after TickerQ has stopped, so it isn't lost.

For everything else about the Cronitor client, such as logging and the API key, see the Cronitor README.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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
10.4.78 96 11/10/2026
10.4.77 112 10/13/2026
9.3.78 92 11/10/2026
9.3.77 107 10/13/2026
8.3.78 95 11/10/2026
8.3.77 112 10/13/2026