Discord

Discord Cron Job Alerts — Never Miss a Failure

Connect CronJobPro to your Discord server and get instant alerts when a scheduled job fails, recovers, or gets auto-disabled — posted directly to the channel your team already watches. Set an alert threshold to suppress noise from transient errors and only page your team when it actually matters.

Start free

How Discord alerts work

When a job returns a non-2xx response, times out, or hits a connection or DNS error after your configured retries, CronJobPro fires an alert to every notification channel attached to that job. The same pipeline covers heartbeat and dead-man's-switch monitors — if your process stops pinging before the deadline, Discord gets notified. Alerts also fire when a job recovers after a failure run, or when the circuit breaker auto-disables a job after repeated consecutive failures.

Set up Discord notifications

You'll need your Discord Webhook URL.

  1. 1

    Create a webhook in Discord

    Open your Discord server, go to Server Settings → Integrations → Webhooks, click New Webhook, choose the channel that should receive alerts, then click Copy Webhook URL.

  2. 2

    Add a Discord notification channel in CronJobPro

    In CronJobPro, go to Settings → Notifications and click Add Channel. Select Discord as the channel type, paste your copied Webhook URL into the Discord Webhook URL field, and give the channel a descriptive name.

  3. 3

    Send a test alert

    Click the Test button next to your new Discord channel. CronJobPro will post a test message to your Discord channel so you can confirm the webhook is wired up correctly before attaching it to any jobs.

  4. 4

    Attach the channel to your jobs

    Open each cron job or monitor you want covered, go to its Notifications settings, and select the Discord channel you just created. You can attach the same channel to as many jobs as you need.

  5. 5

    Configure the alert threshold (optional)

    On each job you can set an alert threshold — the number of consecutive failures that must occur before an alert is sent. This suppresses noise from one-off transient errors while still paging you when something is genuinely broken.

Frequently asked questions

Which events trigger a Discord alert?

CronJobPro sends a Discord alert when a job fails (non-2xx response, timeout, or connection/DNS error after retries), when a job recovers after a failure, and when the circuit breaker auto-disables a job after repeated failures. Heartbeat and dead-man's-switch monitors also alert Discord when a ping is missed before the deadline.

Can I connect one Discord channel to multiple jobs?

Yes. Once you add a Discord notification channel in Settings → Notifications, you can attach it to as many cron jobs and monitors as you like. Conversely, a single job can have multiple notification channels attached simultaneously.

What is the alert threshold and when should I use it?

The alert threshold lets you suppress Discord notifications until a job has failed N consecutive times. This is useful if your endpoint occasionally returns a transient error — setting a threshold of 2 or 3 means you only get paged once the failure is confirmed to be persistent rather than a one-off blip.

Does CronJobPro send a recovery alert when a job starts passing again?

Yes. After a job has been in a failed state, CronJobPro posts a recovery alert to your configured Discord channel once the job completes successfully again, so your team knows the issue has resolved without having to check the dashboard manually.

Other integrations

Monitor your cron jobs in Discord

Schedule HTTP jobs and heartbeat monitors, then get failure and recovery alerts where your team already works.

Discord Cron Job Alerts & Monitoring | CronJobPro