![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp92nuIOam5MX4fMJDAFVtM22wgR8GKIauK_1437LK42IA4jNW0cP1c6xk3wUFcvHkf2PmQSo9twElL8By6ci4VHRtJEBNaekrC6xrxLJlYyfA7XiAnjLBJF9xvHjWJLPLD3QW/s200/shell_script.png)
Ok, it's not the first
crontab
I've ever written. This is my crontab
template that I just created for mysellf because even though I've been using cron
since the late 80s, I still keep forgetting which side is minutes. How sad is that?!?I copied the nice format from Wikipedia's
cron
page.The first line (the only line that isn't a comment, and therefore an actual
crontab
entry) is my initial test to make sure cron
is working for the account. * * * * * echo hi >/tmp/a.hi # * * * * * command to execute # _ _ _ _ _ # | | | | | # | | | | | # | | | | +---day of week (0 - 6) # | | | +--------month (1 - 12) # | | +-------------day of month (1 - 31) # | +------------------hour (0 - 23) # +-------------------------min (0 - 59)