Type a schedule in the usual five fields (minute hour day-of-month month day-of-week) or a shortcut like @daily. You get it in plain English and the next run times.
Examples:
crontab
Next runs
Prefer systemd? Turn this into a systemd timer
Syntax cheat sheet
* | every value |
|---|---|
5 | exactly 5 |
1-5 | 1 through 5 |
1,15,30 | a list |
*/10 | every 10th value |
8-18/2 | every 2nd value from 8 through 18 |
MON-FRI, JAN | names for months and weekdays (0 and 7 are both Sunday) |
@daily | also @hourly @weekly @monthly @yearly @reboot |
When both day-of-month and day-of-week are set, cron runs when either matches. Cron uses the server's time zone, not yours.
More tools
- chmod calculatorFile permissions, in octal, symbolic and plain English.
$ chmod 755 script.sh - systemd timerA cron job as a systemd service and timer, ready to copy.
$ systemctl enable --now backup.timer - SSH config~/.ssh/config blocks and a hardened sshd_config.
$ ssh web1 - SSL decoderDecode certificates and CSRs without uploading them anywhere.
$ openssl x509 -noout -text - Password generatorStrong random passwords, made and kept in your browser.
$ openssl rand -base64 24