diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-04 17:13:23 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-04 17:13:23 +0100 |
commit | 6126a7d9d03c599360585e8e421b85ffa5da9b50 (patch) | |
tree | 17af90bf33f7fe37b08984596c5855f5e5b73059 | |
parent | a4aabb05a1673be34780f340428d6b11405cce08 (diff) |
typos
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -43,8 +43,8 @@ Over uschedule: * 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` @@ -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. -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 @@ -136,7 +136,7 @@ Run a job like cron, every day at 7am and 7pm: 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, @@ -152,7 +152,7 @@ Use snooze inline, cron-style mail: set -e snooze ... - actualjob >output 2>&1 || + actualjob >output 2>&1 || mail -s "$(hostname): snooze job failed with status $?" root <output ## Installation |