Skip to content

Cron and Heartbeat Monitoring FAQ

Answers to common questions about how Watchgoose schedules checks, processes pings, stores logs, and routes alerts.

Checks and Schedules

Why didn't a brand-new check alert me when my job never ran?

A new check starts in the New state. Missed-run monitoring starts after the check receives its first successful ping. That lets you create checks ahead of a deploy without setting off false alerts before your scripts are wired up.

Two signals can still trigger an alert while a check is New:

  • An explicit failure signal (/fail or a non-zero /<exit-status>).
  • A /start ping when no completion signal arrives before the check's grace time ends.

Clicking Resume on a Paused check returns it to New until the next signal arrives. By contrast, pinging a Paused check wakes it straight into Up or Down, unless Ignore the ping, stay in the paused state is enabled under Filtering Rules.

When should I choose Simple, Cron, or OnCalendar schedules?

  • Simple (Period + Grace Time): best for fixed intervals where exact wall-clock alignment does not matter, such as a worker loop pinging every 5 minutes.
  • Cron (5-field cron expression + IANA timezone + Grace Time): best for jobs tied to wall-clock times (0 2 * * * in Europe/Berlin). Test expressions in the crontab cheat sheet and tester.
  • OnCalendar (systemd calendar expression + IANA timezone + Grace Time): best for systemd.timer units, including multi-line OnCalendar= schedules; see Monitoring systemd tasks.

How does Watchgoose handle Daylight Saving Time (DST) transitions?

  • Simple checks measure elapsed UTC seconds (last_ping + period), so DST clock jumps do not affect them.
  • Cron and OnCalendar checks calculate the next scheduled run in the check's IANA timezone (Europe/London, America/New_York) and convert that instant to UTC before adding grace time. Match the check's timezone to the timezone your server's scheduler uses. Setting TZ= inside a Linux or FreeBSD crontab does not change when standard cron starts the job; see the cron environment variables guide.

How does /start measure duration, and what is the runtime timeout?

Ping https://watchgoose.com/ping/<uuid>/start (or <ping-key>/<slug>/start) right before the job starts. Watchgoose records run duration when the matching completion ping arrives (matched up to 72 hours; pass ?rid=<client-uuid> on both calls if runs can overlap).

The check's grace time also acts as the maximum allowed runtime after /start. If no completion signal arrives within grace time, Watchgoose marks the check Down even if the next scheduled run is hours away. Set grace time longer than the job's slowest normal run; see Measuring script run time.

Pinging, Logs, and Filtering

How much log output can I attach to a ping, and how long is history kept?

Send UTF-8 text in the HTTP POST body when pinging success, /fail, /<exit-status>, or /log. Watchgoose stores the first 10 kB per ping (also sent in the Ping-Body-Limit response header).

Each check keeps the most recent 200 ping entries on Free, 1,500 on Startup, 3,000 on Business, and 10,000 on Enterprise. Older entries roll off as new pings arrive; see Attaching logs and Pricing.

What happens if my script pings /log?

Pinging /log saves the timestamp and request body in the check's event log without changing the check's status or deadline timer. Use /log for mid-run progress notes when only the final step should count as completion.

How fast can I ping a check?

Keep pings to at most 5 requests per minute per check (the shortest check period is 60 seconds). Higher sustained rates may be rate-limited and dropped; see Pinging API rate limits.

Why did a check get pinged when nobody ran the job?

Pasting a private ping URL into chat, email, or a ticket lets link-preview bots send an HTTP GET or HEAD request to preview the link. Turn on Only POST under Filtering Rules, rotate exposed URLs, and store ping URLs in chmod 600 files instead of command arguments.

Can Watchgoose monitor backup appliances or NAS jobs that only send email?

Yes. Every check has an inbound email address (<uuid>@ping.watchgoose.com). Point backup report emails from tools like Synology Hyper Backup, QNAP, TrueNAS, or Veeam to that address and set case-sensitive Filtering Rules on the subject or body. Watchgoose checks failure keywords first, then success keywords, then start keywords, so an email containing both "Backup report" and "ERROR" is recorded as a failure; see Email pings.

Alerts, Status Pages, and AI Assistants

Why did Watchgoose alert me only once when a job failed repeatedly?

Watchgoose sends alerts on status changes (Up to Down, and Down to Up), not on every consecutive failed ping while a check stays Down. That stops a 5-minute cron job from draining SMS credits or flooding Slack overnight. For repeated reminders until fixed, connect an on-call integration, use Pushover Emergency priority (ntfy, Gotify, and Pushover guide), or enable hourly or daily email reminders in Configuring notifications.

Do public status pages or the MCP server expose my ping URLs or logs?

No:

  • Public status pages are opt-in per project and show only the checks you select (up to 100), with your chosen public names, optional groups, status, and last-result age. Ping URLs, UUIDs, descriptions, and logs are never displayed.
  • The hosted MCP server authenticates to one approved project via OAuth 2.1 (read-only by default). Every tool response strips check UUIDs, ping URLs, integration secrets, client IP addresses, user agents, and ping log bodies. Open the dashboard_url while signed into Watchgoose to read captured log output.