diff options
| -rw-r--r-- | cron.html | 6 | ||||
| -rw-r--r-- | rsync.html | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -20,7 +20,7 @@ You can schedule anything! Some examples of what you might have done already include: <ul> <li><code>updatedb</code> to update your <code>locate</code> database</li> - <li><code>certbot</code> to update renewing of your https certs</li>) + <li><code>certbot</code> to update renewing of your https certs</li> </ul> Some tasks that you might <em>want</em> to schedule may include: <ul> @@ -47,9 +47,9 @@ Crontab expressions look like this <code>* * * * * command-to-run</code> The five elements before the command tell when the command is supposed to be run automatically. <p> - So for our Monday at 3:30AM job we would do the following: + So for our Monday at 3:30 AM job we would do the following: <p> - <pre><code>.---------------- minute (0 - 59) + <pre><code> .---------------- minute (0 - 59) | .------------- hour (0 - 23) | | .---------- day of month (1 - 31) | | | .------- month (1 - 12) @@ -32,7 +32,7 @@ <li><code>-z</code> – compress files for upload</li> <li><code>-P</code> – if uploading a large file and upload breaks, pick up where we left off rather than reuploading the entire file</li> </ul> -<p>Avoid using the commonly used <code>-a</code> option when uploading. It changes can transfer your local machine's user and group permissions to your server, which might cause breakage.</p> +<p>Avoid using the commonly used <code>-a</code> option when uploading. It can transfers your local machine's user and group permissions to your server, which might cause breakage.</p> <h3>Scriptability</h3> <p>It's a good idea to build your website offline, then make an rsync script or bash alias like the one above to upload the edited files when you have made updates.</p> <h3>Password-less authentication</h3> |
