Cron every 2 minutes
Here is the line. Cron will run it, but it will not tell you the day it stops.
- Add one ping to the end of the job.
- Tell Uptimepage how often to expect it.
- A missed ping opens an incident and alerts you by Slack, email, PagerDuty, SMS or webhook.
Free plan, no card. Opens the new-monitor form as a heartbeat check.
# next runs · your local time
Add the line with crontab -e. Cron reads the server's time zone, which is often UTC.
same schedule elsewhere
Kubernetes CronJob
spec:
schedule: "*/2 * * * *"
GitHub Actions runs no schedule more often than every 5 minutes, so this one needs another scheduler.
what to know
The step */2 matches the even minutes: 0, 2, 4 and on to 58. For the odd minutes, write 1-59/2 * * * *.
Cron starts each run on time whether or not the last one finished. If the job can outlast the interval, guard it with a lock such as flock -n /tmp/job.lock /path/to/command, so runs do not pile up.
For anything else, build it in the cron expression generator.
more free tools: uptime SLA calculator · error budget calculator · incident message generator · DNS lookup · HTTP header checker · SSL certificate checker · SSL certificate decoder · domain expiry checker · website security checker · the whole set