crontab
maintain crontab files for individual users
- Provided by: systemd-cron (Version: 2.6.0-1)
- Report a bug
maintain crontab files for individual users
crontab |
[-u user]
[newtab] |
crontab |
-l [-u
user] |
crontab |
-r [-i]
[-u user] |
crontab |
-e [-u
user] |
crontab |
-s |
crontab |
-t line |
crontab |
-T crontab |
crontab lets users install, uninstall,
view, and edit recurrent jobs in the crontab(5) format, as
well as pre-view and convert them to systemd.timer(5)
pairs. root may also spy on who which users have installed crontabs.
Each user may have their own crontab, but this can be limited by /etc/cron.allow to create an explicit allow-list or /etc/cron.deny to deny access to individual users.
Crontabs are checked before installing — if they are found to be invalid, installation is aborted and a summary of errors is written to the standard error stream.
-l,
--list-r,
--remove-i,
--ask-e,
--edit-s,
--show-t,
--translate-T,
--test-u,
--user=usercrontab without this option
— the current user is determined by
$LOGNAME, $USER,
$LNAME $USERNAME, and only
then by the real UID!EDITOR, VISUAL,
editor, vim,
nano, and mcedit are tried,
in order, when using -e.
crontab(5), systemd.cron(7)
for a summary of the format and how to tweak installed cronjobs —
systemctl edit
cron-schedule.{timer|service}.
SELinux is not supported.