crontab — User Chronological Table File

Synopsis

/usr/bin/crontab [filename] 
/usr/bin/crontab [-elr] username
					

Description

Use the crontab command to manage a user's access with cron by copying, creating, listing, and removing crontab files. If invoked without options, crontab copies the specified file, or the standard input if no file is specified, into a directory that holds all users' crontabs.

crontab Access Control

User access to crontab is allowed:

  • If the user's name appears in /etc/cron.d/cron.allow.

  • If /etc/cron.d/cron.allow does not exist and the user's name is not in /etc/cron.d/cron.deny.

User access to crontab is denied:

  • If /etc/cron.d/cron.allow exists and the user's name is not in it.

  • If /etc/cron.d/cron.allow does not exist ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.