-
Notifications
You must be signed in to change notification settings - Fork 344
Adjust the punctuation marks #2735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -147,14 +147,14 @@ Example: | |||
|--------|-----------------------------------------------------------| | |||
| `-e` | Edits the schedule file with vi | | |||
| `-l` | Displays the contents of the schedule file | | |||
| `-u` | Sets the name of the user whose schedule file is to be manipulated | | |||
| `-u <user>` | Specify a single user to operate | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is good.
| `-r` | Deletes the schedule file | | ||
|
||
!!! Warning | ||
|
||
`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. | ||
|
||
Only the `root` can use the `-u user` option to manage another user's schedule file. | ||
Only the `root` can use the `-u <user>` option to manage another user's schedule file. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also fine with this change.
| `/` | Defines a step | | ||
| `*` | Indicates all the time values of the field | | ||
| `-` | Indicates a continuous time range | | ||
| `,` | Indicates the discontinuous time range | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean "Indicates a non-contiguous time range" rather than "discontinuous"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean "Indicates a non-contiguous time range" rather than "discontinuous"
It seems that native speakers may also confuse the usage of these two words
docs/books/admin_guide/11-tasks.md
Outdated
@@ -254,12 +254,12 @@ For the root user, `crontab` also has some special time settings: | |||
|
|||
A user, rockstar, wants to edit his `crontab` file: | |||
|
|||
1. `crond` checks to see if he is allowed (`/etc/cron.allow` and `/etc/cron.deny`). | |||
1. The `crond` daemon checks to see if he is allowed (`/etc/cron.allow` and `/etc/cron.deny`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pronoun "he" should not be used. I realize that you are editing the document and "he" was already there. This should be a generic pronoun or reworded. In this case, the sentence should be: "The crond
daemon checks to see if the user is allowed (/etc/cron.allow
and /etc/cron.deny
).
@@ -254,12 +254,12 @@ For the root user, `crontab` also has some special time settings: | |||
|
|||
A user, rockstar, wants to edit his `crontab` file: | |||
|
|||
1. `crond` checks to see if he is allowed (`/etc/cron.allow` and `/etc/cron.deny`). | |||
1. The `crond` daemon checks to see if he is allowed (`/etc/cron.allow` and `/etc/cron.deny`). | |||
|
|||
2. If he is, he accesses his `crontab` file (`/var/spool/cron/rockstar`). | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then this would be: "2. If the user is allowed, they access their crontab
file (/var/spool/cron/rockstar
).
docs/books/admin_guide/11-tasks.md
Outdated
|
||
2. If he is, he accesses his `crontab` file (`/var/spool/cron/rockstar`). | ||
|
||
Every minute `crond` reads the schedule files. | ||
The `crond` daemon reads the scheduled task files of all users every minute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I think this needs to be redone too. First of all, you don't want the procedure to repeat "The crond
daemon..." when you can add this to 2: "The crond
daemon:" Followed by:
3. Reads the scheduled task files of all users every minute
4. Runs tasks according to the schedule (no need for the last part-no need to say it is for this particular user, because that is assumed from step 1)
5. Writes the corresponding events and messages to the (/var/log/cron
) file
Test results for 9ac2b46:
|
Author checklist (Completed by original Author)
Rocky Documentation checklist (Completed by Rocky team)