]> git.netwichtig.de Git - user/henk/code/snooze.git/commitdiff
typos
authorChristian Neukirchen <chneukirchen@gmail.com>
Wed, 4 Nov 2015 16:13:23 +0000 (17:13 +0100)
committerChristian Neukirchen <chneukirchen@gmail.com>
Wed, 4 Nov 2015 16:13:23 +0000 (17:13 +0100)
README.md

index 5831e81f4a6e569cc4951f589b7b84453faca3b6..7b1bd20f3ab81ffeafda5372f9aef2a615f9891d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -43,8 +43,8 @@ Over uschedule:
 * run at 10 pm on weekdays:
   cron: `0 22 * * 1-5`
   snooze: `-w1-5 -H22`
 * run at 10 pm on weekdays:
   cron: `0 22 * * 1-5`
   snooze: `-w1-5 -H22`
-* run 23 minutes after midn, 2am, 4am ..., everyday:
-  cron: 23 0-23/2 * * *
+* run 23 minutes after midnight, 2am, 4am ..., everyday:
+  cron: `23 0-23/2 * * *`
   snooze: `-H/2 -M23`
 * run every second week:
   snooze: `-W/2`
   snooze: `-H/2 -M23`
 * run every second week:
   snooze: `-W/2`
@@ -106,7 +106,7 @@ this would always wait until next midnight.)
 If TIMEFILE does not exist, it will be assumed outdated enough to
 ensure earliest execution.
 
 If TIMEFILE does not exist, it will be assumed outdated enough to
 ensure earliest execution.
 
-snooze does not update the timefiles, you need to do that!
+snooze does not update the timefiles, your job needs to do that!
 Only mtime is looked at, so touch(1) is good.
 
 ## Exact behavior
 Only mtime is looked at, so touch(1) is good.
 
 ## Exact behavior
@@ -136,7 +136,7 @@ Run a job like cron, every day at 7am and 7pm:
 
 Run a job daily, never twice a day:
 
 
 Run a job daily, never twice a day:
 
-       exec snooze -H0 -S $((24*60*60)) -t timefile \
+       exec snooze -H0 -s $((24*60*60)) -t timefile \
                sh -c 'run-parts /etc/cron.daily; touch timefile'
 
 Use snooze inline, run a mirror script every hour at 30 minutes past,
                sh -c 'run-parts /etc/cron.daily; touch timefile'
 
 Use snooze inline, run a mirror script every hour at 30 minutes past,
@@ -152,7 +152,7 @@ Use snooze inline, cron-style mail:
 
        set -e
        snooze ...
 
        set -e
        snooze ...
-        actualjob >output 2>&1 ||
+       actualjob >output 2>&1 ||
                mail -s "$(hostname): snooze job failed with status $?" root <output
 
 ## Installation
                mail -s "$(hostname): snooze job failed with status $?" root <output
 
 ## Installation