Browse - Computer Tips - What's the format of the crontab file?

Date: 2017mar17
OS: Linux

Q.  What's the format of the crontab file?

A.  Files in /etc/cron.d are:

# minute | hour | day-of-month | month | day-of-week | user | command 1 5 * * * myuser /usr/local/bin/mycommand
When you do
crontab -e
its just for you so its:
# minute | hour | day-of-month | month | day-of-week | command 1 5 * * * /usr/local/bin/mycommand
Lines that begin with # are comments.