Instead, they are edited by running crontab. The crontab command is used to view or edit the table of commands to be run by cron.Įach user on your system can have a personal crontab.Ĭrontab files are located in /var/spool/ (or a subdirectory such as /var/spool/cron/crontabs), but they are not intended to be edited directly. See your SELinux documentation for detailed information. SELinux only: appends the current SELinux security context string as an MLS_LEVEL setting to the crontab file before editing or replacement occurs. Same as -r, but gives the user a yes/no confirmation prompt before removing the crontab. Note: using su to switch users can confuse crontab, so if you are running it inside of su, always use the -u option to avoid ambiguity.Įdit the current crontab, using the editor specified in the environment variable VISUAL or EDITOR. If this option is not given, crontab opens the crontab of the user who ran crontab. Specifies the user whose crontab is to be viewed or modified. If file is a dash (" -"), the crontab data is read from standard input. Load the crontab data from the specified file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |