Dead-simple cron job monitoring with auto-registration. Two functions: Ping() and SyncMonitor(). Self-healing monitors.
$ dotnet add package CronRadarSelf-healing monitors. Never breaks.
dotnet add package CronRadar
// Set API key via environment variable
// CRONRADAR_API_KEY=ck_app_xxxxx
// After your job completes
CronRadar.Monitor("daily-backup");
// With auto-registration (if monitor doesn't exist)
CronRadar.Monitor("daily-backup", schedule: "0 2 * * *");
Track start/complete/fail for better insights:
CronRadar.StartJob("daily-backup", schedule: "0 2 * * *");
try
{
RunBackup();
CronRadar.CompleteJob("daily-backup");
}
catch (Exception e)
{
CronRadar.FailJob("daily-backup", e.Message);
throw;
}
Or use the wrapper:
CronRadar.Wrap("daily-backup", () =>
{
RunBackup();
}, schedule: "0 2 * * *");
API Key (required):
CRONRADAR_API_KEY=ck_app_xxxxx
Or pass directly:
CronRadar.Monitor("job-name", apiKey: "ck_app_xxxxx");
Debug logging (optional):
CRONRADAR_DEBUG=true
dotnet add package CronRadar.HangfireProprietary - © 2025 CronRadar. All rights reserved.