O'Reilly logo

CompTIA® Linux+ / LPIC-1 Cert Guide: (Exams LX0-103 & LX0-104/101-400 & 102-400) by Sean Walberg, Ross Brunson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Note

The editor used to make changes to the crontab is set through the EDITOR environment variable, with vi being the default. If you’d rather use nano, for instance, make sure that export EDITOR=/bin/nano is in your .bash_profile.

If you are root, the -u option allows you to supply a username so that you can view or edit that user. To edit sean’s crontab, run crontab -e -u sean.

The -l flag displays the crontab rather than editing it:

# crontab -l -u seanPATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sean/binMAILTO=sean@example.com25 * * * * /usr/bin/php /home/sean/fof/update-quiet.php > /dev/null2>&10 2 * * * /home/sean/bin/database_backup 2>&1

Matching Times

The crontab itself has undergone ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required