Co robi CRONTAB użycie. Konsola another user by supplying -u user . A crontab file is a list of.

Czy przydatne?

Polecenie crontab

Wykonanie, użycie: View, install, or uninstall your current crontab file. A privileged user can run crontab for another user by supplying -u user. A crontab file is a list of commands, one per line, that will execute automatically at a given time. Numbers are supplied before each command to specify the execution time. The numbers appear in five fields, as follows:

Minute 0-59 Hour 0-23 Day of month1-31 Month 1-12 Jan, Feb, Mar, ... Day of week 0-6, with 0 = Sunday Sun, Mon, Tue, ...

Use a comma between multiple values, a hyphen to indicate a range, and an asterisk to indicate all possible values. For example, assuming these crontab entries:

59 3 * * 5 find / -print | backup_program 0 0 1,15 * * echo "Timesheets due" | mail user

the first command backs up the system files every Friday at 3:59 a.m., and the second command mails a reminder on the 1st and 15th of each month.

The superuser can always issue the crontab command. Other users must be listed in the file /etc/cron.allow if it exists; otherwise, they must not be listed in /etc/cron.deny. If neither file exists, only the superuser can issue the command

Opcje wykonania crontab w konsoli

The -e, -l, and -r options are not valid if any files are specified.


Edit the user's current crontab file (or create one).


Display the user's crontab file on standard output.


Delete the user's crontab file.

-u user

Indicate which user's crontab file will be acted upon.

Przykłady crontab działanie w Słownik polecenie C

Przykład CRONTAB użycie :
Jak użyć administration command. Change user passwords in a batch. chpasswd accepts input in the form of one username :password pair per line. If the -e option is not specified, password is encrypted before co to jest.
Przykład CRONTAB użycie :
Jak użyć attributes. Specific to Linux Second and Third Extended Filesystem (ext2 and ext3). Behaves similarly to symbolic chmod , using + , - , and = . mode is in the form opcode attribute . See also lsattr definicja.
Przykład CRONTAB użycie :
Jak użyć Format input from one or more files into columns, filling rows first. Read from standard input if no files are specified co znaczy.
Przykład CRONTAB użycie :
Jak użyć Change the group of one or more files to newgroup . newgroup is either a group ID number or a group name located in /etc/group . Only the owner of a file or a privileged user may change the group słownik.
Przykład CRONTAB użycie :
Jak użyć ownership of one or more files to newowner . newowner is either a user ID number or a login name located in /etc/passwd . chown also accepts users in the form newowner :newgroup or newowner.newgroup znaczenie.