Skip to content

FAQ

One monitor is one scheduled job with its own schedule and ping URL. Every job wrapped by the host agent and every CronJob discovered by the Kubernetes agent counts as one monitor.

Creating one more of the limited thing (monitor, channel, agent, member, status page, API token, maintenance window) is refused with a 403 and the problem code plan_limit_exceeded. Nothing that already exists is switched off. When a project moves to a smaller plan, some things are switched off instead (monitors paused, tokens, status pages and agents stop working), see Billing, cancellation and downgrade.

late means the expected time has passed but the grace period has not run out. No alert is sent in this period. If the ping arrives, the monitor goes up quietly. When the deadline (expected time plus grace period) passes, the monitor goes down and the alert is sent. Increase the grace period if your job’s run time varies a lot. See Statuses.

Check these, in this order:

  1. Email not verified. Nothing is sent to channels until the account email of the project owner is verified.
  2. No channel attached to the monitor, or the channel type is not allowed on your plan.
  3. The monitor is paused. Paused monitors are not checked and send no reminders.
  4. Incident already open. You get one alert per incident, then reminders after 1 hour and every 24 hours. A second failure while the incident is open is silent.
  5. The deadline has not passed yet. Expected time plus grace period.
  6. The agent was lost (Kubernetes). While the agent is lost, monitors of that cluster cannot go down. Host agents are never lost.
  7. Delivery failed. Failed notifications are shown in the app after 5 attempts. Use Send test message on the channel. For Slack check the URL starts with https://hooks.slack.com/; for webhooks the destination must be public HTTPS.
  8. CronBeat was down. After an outage of the whole service, down alerts are held back for about two minutes after it returns, so lost pings do not raise false alarms.
  9. A maintenance window is active. Covered monitors are not judged, see Maintenance windows.
  10. Check your spam folder for email alerts.
  • The ping did not arrive: look at the ping history of the monitor for the time of the run. A 429 or network error in your job output shows up here. Use curl -fsS -m 10 --retry 3.
  • The schedule or time zone in the monitor does not match the real one. A cron monitor evaluates the expression in its time zone, see Cron expressions.
  • The job takes longer than the grace period and only sends a success ping at the end. Raise the grace period, or send /start as well.
  • The job pings with /fail on purpose or because of a script error. Check the ping type in the history.

Yes, a little. CronBeat measures the deadline on its servers using its own clock. Your job’s clock only matters for when it runs. Keep NTP enabled on the machines that run jobs. A job whose clock is a few seconds early is handled by the early ping tolerance, see Cron expressions.

Can I monitor a job that runs every few seconds?

Section titled “Can I monitor a job that runs every few seconds?”

Interval monitors have a minimum of 5 minutes on every plan. CronBeat is designed for scheduled jobs, not high frequency health checks.

Up to 10 KB of the body of a POST ping is stored and visible in the ping history until your plan’s retention period ends. Do not send secrets.

What does the Kubernetes agent send to CronBeat?

Section titled “What does the Kubernetes agent send to CronBeat?”

Only three kinds of request, over HTTPS:

  • a sync of your CronJobs (namespace, name, schedule, time zone, whether it is suspended, and a few scheduling facts),
  • an event when a Job starts, succeeds or fails, with the run time and, for a failure, the reason Kubernetes gives (for example OOMKilled),
  • a heartbeat every minute.

The agent never reads or sends Secrets, ConfigMaps, pod logs, environment variables or the output of your jobs, and it changes nothing in your cluster. A failure message from Kubernetes can contain the name of a Secret or the image reference Kubernetes mentions. The full list is on Agent permissions and data.

Does CronBeat work on plain Linux servers?

Section titled “Does CronBeat work on plain Linux servers?”

Yes. Install the host agent, a single cronbeat command, and put it in front of a cron job: cronbeat run --name nightly-backup --schedule "0 2 * * *" -- /opt/backup.sh. It reports the start and the result of every run, the job keeps its own exit code, and nothing runs in the background. It is available on every plan (Free 1 host, Pro 10, Enterprise 100). Without installing anything you can use a ping URL instead.

What does the host agent send to CronBeat?

Section titled “What does the host agent send to CronBeat?”

The job name, its schedule and time zone, a run id, the duration, the exit code and the signal that ended it. Only when a job fails it also sends the last 4 KB of its output, with secrets masked on your server (masking is pattern based and best effort). It never sends the command, its arguments, environment variables or files, and --output never turns the output off. The API key is kept in a file with mode 0600 or in an environment variable, and your job does not see it. Details: Data and security.

What happens to my job when CronBeat is down?

Section titled “What happens to my job when CronBeat is down?”

Nothing. cronbeat run waits at most a few seconds for CronBeat (the start event never delays the job) and the job runs with its exit code unchanged. A report that could not be delivered is not queued for later, so a lost “finished” report can make the monitor go late or down. See The run command.

How do I stop alerts for planned maintenance?

Section titled “How do I stop alerts for planned maintenance?”

Use a maintenance window: one-off or weekly, for all monitors or chosen ones. For a single monitor you can also pause it. Resuming (or the end of a window) restarts the expectation from that moment, so you are not alerted immediately.

Can I share the status of my jobs publicly?

Section titled “Can I share the status of my jobs publicly?”

Yes, with a status page (Pro and Enterprise) or a badge per monitor.

Yes. Create an API token and use the REST API.

SMS and phone call alerts, SSO and SAML, an Opsgenie integration and a self-hosted edition do not exist. Supported channels are email, Slack, Discord, Telegram, Microsoft Teams, PagerDuty and signed webhooks.