Once you've typed crontab -e you will need to edit with 'vi' commands, so you might want to do a google search for "vi quick reference". An infinite number of monkey typing at an infinite number of keyboards will eventually populate the internet.
Here is something I have found handy when adding something to cron -- a "cheat sheet" on which field is for which time unit. I've actually added the first 6 lines below to the top of my crontab and I show a sample command.
# minute (0-59)
# | hour (0-23)
# | | day of the month (1-31)
# | | | month of the year (1-12)
# | | | | day of the week (0-6 with 0=Sunday)
# / / / / / commands
0 3 * * * /usr/sbin/skulker
Also, if you don't want to get an email everytime the command is run from cron, add this after the command:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.