Code: Select all
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of the month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of the week (0 - 7) (Sunday is 0 or 7)
│ │ │ │ │
* * * * * <command to run>
Code: Select all
(crontab -l 2>/dev/null; echo "0 0 * * * /usr/bin/znc -r") | crontab -
Code: Select all
@reboot /usr/bin/znc
Code: Select all
*/5 * * * * /usr/bin/znc
Code: Select all
0 * * * * /usr/bin/znc
Code: Select all
* * * * * /usr/bin/znc
Which reminded me of something. Long ago, I stumbled onto a website somehow. It is so useful, that I still use it !