Getting Started
Get your first cron job monitored in under 5 minutes.
2Create Your First Check
From the dashboard, click "New Check" and configure your monitoring:
- Name: A descriptive name like "Database Backup" or "Report Generator"
- Schedule: Use simple intervals (e.g., "every 1 hour") or cron expressions (e.g., "0 0 * * *")
- Grace Period: How long to wait before alerting (recommended: 5-15 minutes)
After creating your check, you'll receive a unique ping URL that looks like:
https://ping.cronzy.io/abc123-def456-ghi7893Add the Ping to Your Cron Job
Add a simple HTTP request to the end of your cron job. Here are examples for common scenarios:
Shell Script (using curl)
# Add this to the end of your cron job
curl -fsS --retry 3 https://ping.cronzy.io/YOUR_UUID
# Or chain it with your command
0 * * * * /path/to/backup.sh && curl -fsS https://ping.cronzy.io/YOUR_UUIDPython
import requests
# At the end of your script
requests.get("https://ping.cronzy.io/YOUR_UUID", timeout=10)Node.js
// At the end of your script
fetch("https://ping.cronzy.io/YOUR_UUID")
.catch(err => console.error("Ping failed:", err));PHP
<?php
// At the end of your script
file_get_contents("https://ping.cronzy.io/YOUR_UUID");4Report Failures (Optional)
If your job can detect its own failures, report them immediately using the /fail endpoint:
# Report a failure
curl -fsS https://ping.cronzy.io/YOUR_UUID/fail
# Example: backup script with error handling
#!/bin/bash
if /path/to/backup.sh; then
curl -fsS https://ping.cronzy.io/YOUR_UUID
else
curl -fsS https://ping.cronzy.io/YOUR_UUID/fail
exit 1
fi5Configure Alerts
Set up your preferred alert channels in Settings → Integrations:
- Email: Enabled by default for your account email
- Slack: Send alerts to a Slack channel
- Discord: Send alerts to a Discord channel via webhook
- Webhook: POST JSON alerts to any URL