O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

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

crontab

Maintains crontab files

crontab [-u user-name] filename

crontab [-u user-name] options

A crontab file associates periodic times (such as 14:00 on Wednesdays) with commands. The cron utility executes each command at the specified time. The crontab utility installs, removes, lists, and edits your crontab file.[2] Superuser can process any user's crontab file.

[2] A point of confusion here: There is a utility named crontab. There are files referred to as crontab files. But the crontab files are not named crontab; they are named using users' login names. So the file named alex could be a crontab file that is edited using crontab.

Arguments

The first format copies the contents of filename (which contains crontab commands) into the crontab ...

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