You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adjust the punctuation marks
* update
* Revise the wording of the explanatory text
* Update time
* Modify pronouns based on the context
* Readjust the layout of text content
Copy file name to clipboardExpand all lines: docs/books/admin_guide/11-tasks.md
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ If the same user exists in `/etc/cron.deny` and `/etc/cron.allow` at the same ti
125
125
126
126
When a user schedules a task, there is a file created with their name under `/var/spool/cron/`.
127
127
128
-
This file contains all the information the `crond` needs to know regarding tasks created by this user, including the commands or programs to run, and the schedule for running them (hour, minute, day, etc.). Note that the minimum time unit that `crond` can recognize is 1 minute. There are similar scheduling tasks in RDBMS (such as MySQL), where time-based scheduling tasks are referred to as the "Event Scheduler." The minimum time unit it can recognize is 1 second, and event-based scheduling tasks are referred to as "Triggers."
128
+
This file contains all the information the `crond` needs to know regarding tasks created by this user, including the commands or programs to run, and the schedule for running them (hour, minute, day, etc.). Note that the minimum time unit that `crond` can recognize is 1 minute. There are similar scheduling tasks in RDBMS (such as MySQL), where time-based scheduling tasks are referred to as the "Event Scheduler" (whose recognizable time unit is 1 second), and event-based scheduling tasks are referred to as "Triggers".
|`-l`| Displays the contents of the schedule file |
150
-
|`-u`|Sets the name of the user whose schedule file is to be manipulated|
150
+
|`-u <user>`|Specify a single user to operate |
151
151
|`-r`| Deletes the schedule file |
152
152
153
153
!!! Warning
154
154
155
155
`crontab` without options deletes the old schedule file and waits for the user to enter new lines. You have to press <kbd>ctrl</kbd> + <kbd>d</kbd> to exit this editing mode.
156
156
157
-
Only the `root` can use the `-u user` option to manage another user's schedule file.
157
+
Only the `root` can use the `-u <user>` option to manage another user's schedule file.
158
158
159
159
The example above allows the root to schedule a task for user1.
160
160
@@ -206,12 +206,12 @@ The `crontab` file is structured according to the following rules.
206
206
207
207
To simplify the notation for the definition of time, it is advisable to use special symbols.
0 commit comments