Lists or removes crontab or at jobs.
cronadm cron { { -l | -v } [ UserName ] ... | -r UserName }
cronadm at { -l [ UserName ] | -r { UserName | JobName } }
The cronadm command is used by a root user to list or remove all users crontab or at jobs.
The cron jobs are listed and removed by the UserName parameter. One or more UserNames can be specified. To list all cron jobs, do not specify a user. The at jobs are listed by UserName and can be removed either by the UserName parameter or by the JobName parameter.
The name of a crontab job file is the name of the user who submitted the crontab job and the name of the file in the /var/spool/cron/crontabs directory. The name of an at job is the name of the user who submitted the at job concatenated with a code for the time the at job was submitted.
-l | Lists the at jobs for the user specified by the UserName parameter. |
-r | Removes the at job specified by either the UserName or JobName parameter. |
Access Control: Used only by a user with root authority.
Auditing Events: If the auditing subsystem has been properly configured and is enabled, the cronadm command will generate the following audit record (event) every time the command is executed:
Event | Information |
---|---|
AT_JobRemove | Lists whether a crontab or at job was removed and when. |
See "Setting up Auditing" in AIX 5L Version 5.2 Security Guide for more details about how to properly select and group audit events, and how to configure audit event data collection.
/usr/bin/cronadm | Contains the cronadm command. |
The at command, auditpr command, crontab command.
The cron daemon.
The Auditing Overview in AIX 5L Version 5.2 Security Guide explains more about audits and audit events.