We learn when your cron jobs, scheduled SSH logins, sudo and su show up in your logs. When one doesn't show up on time, you get an email or a Slack message with the command, when we expected it and when it last ran. When a whole server goes quiet, you get one alert for the server.
Nothing to add to your crontabs. It works from the logs you already send.
cron.hourly runs at :17 on web01. On December 2 we stopped cron on that server, and at 15:17 Los Angeles time cron.hourly didn't run. This is the alert for it, with "..." where we cut lines:
Subject: Trunc Alert: Behavior: Scheduled run missed on web01...Alert description: Expected log (cron job) did not show up on time....root's cron job did not show up on web01 at 15:17 PST: cd / && run-parts --report /etc/cron.hourlyIt runs every hour at :17.Last seen: 14:17 PST (1 h 17 min ago)Check crontab -l -u root and that cron is running. It went out at 15:34. Slack gets the same title and body. When several jobs miss on the same server in the same check, you get one message that lists them all, with a hint to check cron itself first.
Logs go missing three ways: one job doesn't run, a busy server goes silent, or any server stops for the day. Each has its own alert.
| Alert | Fires when | Sent to |
|---|---|---|
| Scheduled run missed | One confirmed job, login, sudo or su didn't show up on time, and the server sent other logs around then | Email or Slack |
| Server went quiet | A server that logged nearly every hour for 7 days sends nothing for 60 minutes, while your other servers are still sending | Email or Slack |
| Logging Stopped | Once a day: a server that sent more than 20 lines the day before (UTC) has sent nothing that day | Email or Slack |
We read the lines you already send. Cron writes one for every job it starts. This one is sysstat, every 10 minutes:
Dec 2 22:45:01 web01 CRON[18571]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Each server, user and command is one candidate. So is an SSH login (same server, user and source IP), sudo by a user other than root, and su to root. We count which hours of the week each one shows up in.
A daily or more frequent job needs each of its hours seen on 5 different days, so about a week. A job that skips days (weekdays only, weekly) has to repeat a week later, up to 21 days. Then the schedule is confirmed and we start watching for it.
| On the Schedules page | What it means |
|---|---|
| Learning | Seen a few times, not judged yet. We may show a guess: "Looks like daily at 02:00". |
| Confirmed | A fixed schedule. A missed run alerts. |
| Seen once | A cron job seen only within one hour, or sudo, su or an SSH login seen only within 20 hours, like a sudo you ran once by hand. Never alerts. |
| No fixed schedule | Repeats at irregular times. Listed once seen 10 times or more. Never alerts. |
| Stopped running | Missed for 7 days or more (3 weeks for weekly jobs). We stop alerting. If it comes back, we learn it again. |
The schedule is written the way you'd say it: "every 5 minutes", "every hour at :17", "daily at 02:00", "weekdays at 09:00", "weekly on Sunday at 03:00". A job that runs at a different time each day, like one that starts when a laptop wakes up, is "about once a day".
| Job runs | We alert |
|---|---|
| Every few minutes (every 5, 10, 15 minutes) | After 3 missed runs in a row |
| Every hour | About 15 minutes after the expected time |
| Daily, or a few times a day | 60 minutes after (a 02:00 job alerts at 03:00). 2 hours around a DST change. |
| Weekly | 3 hours after |
| About once a day, at varying times | After 36 hours without it, or its usual longest gap plus 6 hours if that's longer |
One alert per job per outage. If cron stays off all day, an hourly job still alerts once. A run that shows up late but inside that window is fine. One that shows up after we alerted gets a note on the Schedules page and in Alert history, such as "Showed up at 03:12 instead of 02:00", and no second email.
We only judge time we watched. If processing of your logs was stopped or behind, a run missed in that window doesn't alert.
We stopped cron on one of our own servers at 23:14 UTC on December 2 and left it off for 19 hours. The log says this, and then nothing more about cron:
Dec 2 23:14:37 web01 systemd[1]: Stopping Regular background program processing daemon...Dec 2 23:14:37 web01 systemd[1]: Stopped Regular background program processing daemon. Six jobs on it had confirmed schedules. Each one alerted once (times in UTC):
| Job | Runs | Alert came |
|---|---|---|
cron.hourly |
every hour at :17 | 23:34, 17 minutes after its 23:17 run |
debian-sa1 |
every 10 minutes | 23:38, after 3 missed runs |
sessionclean |
every 30 minutes | 01:12, after 3 missed runs |
popularity-contest |
daily at 04:27 | 05:28 |
cron.daily |
daily at 06:25 | 07:26 |
certbot |
13 times a week | 13:02, an hour after its 12:00 run |
The server kept sending its other logs the whole time, so Server went quiet and Logging Stopped stayed silent. That's the case they can't see: the server is fine, cron isn't. The full story, including the two alerts that didn't matter.
A missed cron job on a server that's still logging is one problem. A server that stopped logging is a different one, and fifteen missed-job emails about it would be noise. We only judge a missed run when the server sent logs around that time. The other two alerts in the table above cover the server itself.
Server went quiet is for your always-on servers. Laptops and desktops are left out, and you can turn it off per server on the Schedules page. Its email says when we last heard from the server and what to check:
No logs from db01 since 14:02 PST (60 min ago).Other servers in this account are still sending logs.Check that db01 is up and that its TRUNC agent or syslog is running and can reach TRUNC. Logging Stopped runs once a day. It alerts on a server that sent more than 20 lines the previous day (UTC) and nothing so far today, so it catches a server that was logging normally and then went silent for a full day. A server that stops early in the day, after 20 lines or fewer, isn't reported. For servers that log nearly every hour, Server went quiet is the fast path: it tells you within the hour. Both go by email or Slack. Logging Stopped is on by default for new accounts, and its settings are under Settings > Alerts.
For the weekly view of which sources dropped off and how volume moved, see Operational Insights. For the causes and how to check them on the server: Log stop detection.
Nothing, to start. Schedules is on for every account, on every plan including the trial, and all three alerts go to your account email until you change them under Settings > Alerts.
We're adding Schedules to our log servers one at a time. If your Schedules page says "Schedules starts once your log server is updated", there's nothing to do: it turns on by itself when that's done.
The Schedules page shows, per server, what we found and what's still learning. From there:
We send up to 10 schedule alerts an hour, then one summary, "Schedule alerts: hourly limit reached". The rest are on the Schedules page and in Alert history.
If you use the behavior rules, your own backup that logs in over SSH at 02:30 every night is a "Login outside working hours" alert every night. Once that login is a confirmed schedule (same server, user and source IP, within 1 to 3 minutes of its usual time), it doesn't trigger Login outside working hours or root or sudo outside working hours.
Logins from Tor, a proxy or a known bad address still alert. To see what was skipped, search:
category:scheduled_quiet To turn this off for the whole account, switch off Skip off-hours alerts on schedule. To keep off-hours alerts for one schedule, use Keep off-hours alerts on its row.
logger -t CRON '(root) CMD (/usr/local/bin/backup.sh)'. We count that as a run.auth,authpriv.* @@..., leaves cron out: add cron.* or send *.*. Debian 12 and later with only journald don't write these lines to a file: install rsyslog. With the Trunc agent, add /var/log/syslog (Debian, Ubuntu) or /var/log/cron (RHEL).laptop, desktop, workstation, -pc, Windows DESKTOP-XXXXXXX) or by macOS logs. A Linux laptop called thinkpad looks like a server: turn off Alert if quiet for it.Which plan includes it?
All of them, including the free trial. Pricing.
Do I have to change my crontabs?
No. If cron's lines reach us, we learn the jobs.
Can it tell me the job failed?
No. Cron logs the start. Debian and Ubuntu cron can also log jobs that
failed (-L 4), and we store those lines like any other, so
you can search them. Schedules alerts on runs that didn't start.
I already use a cron monitor that my jobs ping.
Keep it for the jobs where you need to know they finished and succeeded. A ping monitor knows that and we don't. We cover every job that logs, including the ones nobody added a ping to.
Will it alert when I remove a job on purpose?
Once, at its next expected time. Mark it Never alert if missed first, or ignore the one email. After 7 days missing it moves to Stopped running and stays quiet.
What if the whole server is down?
You get Server went quiet (always-on servers, 60 minutes) and no missed-run alert for each of its jobs. For other servers, Logging Stopped reports a server that was logging normally and then sent nothing for a full UTC day.
We stopped cron for 19 hours Log stop detection Cron monitoring Behavior rules Operational Insights Supported logs Pricing
14 days free trial. No credit card required.