−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 Rocket.Chat

· Setup · 2 minutes

Send alerts to a Rocket.Chat channel through an incoming integration. Works with self-hosted and cloud workspaces.

What the alerts look like#

WatchCron posts a message to the channel with the monitor name, status, reason, and a link to the incident. Nothing fancy: it reads like a structured chat message, which is exactly what you want when you're scanning notifications at 3 a.m.

Before you start#

You need:

  • Admin access to a Rocket.Chat workspace (self-hosted or cloud).
  • A WatchCron account on any plan. Rocket.Chat alerts are included on Free, Starter, Pro and Business.

Like Mattermost, your Rocket.Chat server must be reachable from the public internet for WatchCron to deliver alerts.

Step 1 — Create an incoming integration#

Go to Administration → Workspace → Integrations → New → Incoming.

Turn the integration on. Set "Post to channel" to the channel you want (e.g. #monitoring) and "Post as" to a bot user. Save. Rocket.Chat generates a Webhook URL at the bottom of the page. Copy it.

WhereWhat to do
Administration → IntegrationsNew → Incoming, turn it on
Post to channelPick the target channel, e.g. #monitoring
After savingCopy the Webhook URL

If you don't have a dedicated bot user yet, create one first. It keeps things clean: alerts show up as "WatchCron" instead of your personal name.

Step 2 — Add the channel in WatchCron#

Go to Alerts → Channels → Add channel and choose Rocket.Chat.

FieldWhat to enter
LabelA name you'll recognise, e.g. "#monitoring"
Webhook URLThe URL from the incoming integration

Click Save.

Step 3 — Test and assign monitors#

Click Send test. A message should appear in the Rocket.Chat channel within seconds.

Open any monitor and tick the Rocket.Chat channel under Alert channels. One integration handles as many monitors as you need.

What to paste where#

WatchCron fieldValueWhere you find it
Webhook URLhttps://chat.acme.io/hooks/xxxx/yyyyIntegrations → your incoming integration

What WatchCron sends#

Each message contains the monitor name, current status, a short reason (HTTP code, missed window, timeout), and a link to the full incident timeline. Recovery messages follow the same format.

Messages are posted as whatever user you set in "Post as". If you later rename that user or change the channel, update the incoming integration settings in Rocket.Chat. WatchCron doesn't need any changes on its side.

Troubleshooting#

They're posted as the user set in "Post as" on the integration page. Create a dedicated bot user named "WatchCron" if you want a clear sender name.

Incoming integrations may be disabled. Check Administration → Workspace → Settings → Integrations and make sure incoming webhooks are turned on.
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 →