−50%

50% off your first month on any paid plan · code WELCOME50 · until Nov 30

Start free →
Integration Team chat

How to send cron job and uptime alerts to Discord

· Setup · 1 minute

Post monitoring alerts to a Discord channel with a webhook. No bot to invite, no permissions beyond one channel, and setup takes about sixty seconds.

What the alerts look like#

WatchCron posts a colour-coded embed to the channel: red for failures, green for recoveries. Each embed shows the monitor name, what went wrong (HTTP 503, missed heartbeat, expired certificate), and a link to the incident timeline. You can scan a busy channel at a glance without reading every message.

Messages land within seconds of detection. If your nightly backup stops pinging at 03:00, the embed is in Discord by 03:01.

Before you start#

Two things:

  • A Discord server where you have "Manage Webhooks" permission for at least one text channel.
  • A WatchCron account on any plan. Discord alerts work on Free, Starter, Pro and Business.

No bot joins your server. Discord webhooks are scoped to a single channel and can only post there, so the rest of your server stays untouched.

Step 1 — Create a webhook in Discord#

Right-click the channel (or click the gear icon) and open Edit Channel. Go to Integrations → Webhooks → New Webhook.

Name it "WatchCron". That name appears as the sender in the channel, so pick something your team will recognise at 2 a.m. Click Copy Webhook URL.

WhereWhat to do
Edit Channel → IntegrationsClick Webhooks → New Webhook
Webhook cardName it, then click Copy Webhook URL

Step 2 — Add the channel in WatchCron#

Go to Alerts → Channels → Add channel and choose Discord.

FieldWhat to enter
LabelA name you'll recognise, e.g. "#ops-alerts"
Webhook URLThe URL you copied from Discord. It starts with https://discord.com/api/webhooks/

Click Save. WatchCron validates the URL before storing it.

Step 3 — Test and assign monitors#

Hit Send test. A test embed should appear in the Discord channel within a couple of seconds. If it does, the channel is live.

Open any monitor and tick the Discord channel under Alert channels. One webhook handles every monitor you have: there's no per-webhook cap.

What to paste where#

WatchCron fieldValueWhere you find it
Webhook URLhttps://discord.com/api/webhooks/1234…/AbCd…Edit Channel → Integrations → Webhooks

What WatchCron sends#

Every notification is a Discord embed with four parts:

  • Monitor name so you know which check fired.
  • Status: down, missed, or recovered.
  • Reason: the HTTP code, timeout, missed ping window, or whatever triggered the alert.
  • Incident link straight to the full timeline in WatchCron.

One thing worth knowing: each webhook posts to exactly one channel. If you need alerts in #ops and #dev separately, create a webhook in each and add them as two channels in WatchCron. Takes an extra minute.

Troubleshooting#

No. A Discord webhook is locked to the channel where you created it. For a second channel, create another webhook and add it as a separate alert channel in WatchCron.

WatchCron marks the channel as failing after the next alert attempt. Create a new webhook in Discord, copy the URL, and update it under Alerts → Channels. Existing monitors keep their assignment, nothing to re-tick.

Not directly. Standard webhooks can post to text and announcement channels but not to forum threads. Use a regular text channel instead.
Written by Vitalii Holben

Founder of WatchCron. Full-stack developer building monitoring tools that help teams keep cron jobs, uptime, and SSL certificates under control. Based in Europe, shipping code since 2014.

Start monitoring in under 2 minutes.

Free plan includes 20 checks · No credit card required
Pricing Docs
Log in Start free →