failover.io
  1. Home
  2. Guides

Uptime monitoring guides

How to find out about outages fast and get the alert to a person who can fix them. Practical, with the commands and settings.

Alerting and on-call

Cron jobs and webhooks

GUIDE

What is a cron job?

What a cron job is, how the five fields work, how to add one with crontab -e, why commands that work in the terminal fail in cron and where output goes.

Read
GUIDE

Crontab syntax

The crontab format field by field: *, comma, dash and step operators, month and day names, @daily and @reboot, the day of week trap and examples.

Read
GUIDE

Monitor cron jobs with a heartbeat ping

Add a heartbeat ping to the end of each cron job and get an alert when the ping is late. Works for crontab, Kubernetes CronJobs and scheduled scripts.

Read
GUIDE

Where to find cron logs

Where cron logs are on Ubuntu, Debian, Red Hat and macOS, how to log a job's own output, and why the cron log is empty or says No MTA installed.

Read
GUIDE

How to list cron jobs in Linux

List cron jobs on Linux: crontab -l for your user, every user's crontab, /etc/crontab, /etc/cron.d, the daily and weekly folders and systemd timers.

Read
GUIDE

systemd timer vs cron

systemd timers and cron compared: setup, logs, missed runs, overlap and precision. The same job written both ways, OnCalendar next to cron and when to switch.

Read
GUIDE

Kubernetes CronJob

Kubernetes CronJob explained with a working YAML: schedule, timeZone, concurrencyPolicy, history limits, kubectl commands and why runs are missed or doubled.

Read
CRON

Cron schedule examples

Every common crontab schedule, from every minute to once a year.

Read
GUIDE

Run a PHP script with a cron job

Run a PHP script on a schedule with cron: the crontab line, PHP path, working directory, logs, overlapping runs, Laravel and WordPress and failure alerts.

Read
GUIDE

How to run a Python script with cron

Run a Python script on a schedule with cron: the interpreter path, virtual environments, working directory, environment variables, output buffering and Django.

Read
GUIDE

How to monitor Stripe webhook health

Stripe retries failed webhooks for days, but a broken endpoint can still lose orders. How retries work and how to get alerted when deliveries fail.

Read

Websites, uptime and SSL

Blockchain and RPC nodes

Reference