Cron every 2 hours
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: "0 */2 * * *"
GitHub Actions
on:
schedule:
- cron: '0 */2 * * *'
GitHub runs schedules in UTC unless you set a time zone, and can start them late when it is busy.
what to know
Twelve runs a day, on the even hours: 00:00, 02:00, 04:00 and so on.
Keep the 0 in the minute field. With a star there, * */2 * * * runs every minute of every second hour: 720 times a day instead of 12.
For the odd hours, write 0 1-23/2 * * *.
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