πŸ€–Cron

Crontabs

A crontab is a file that's utilised by the cron process to execute each line of instructions. Crontabs need 6 values in-order to work:

Value
Description

MIN

What minute to execute at

HOUR

What hour to execute at

DOM

What Day Of the Month to execute at

MON

What Month Of the Year to execute a

DOW

What Day Of the Week to execute at

CMD

The actual command that'll get executed

*

NULL

Once you're done, click generate and paste the output into your crontab editor

Press Ctrl + X to save on Nano, or :wq on Vim. That's it! If you want to remove your saved crontabs, you can run crontab -r.

Last updated