]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
crontab.d/jobs: Add support to run job every 6 hours.
authorSimon Ruderich <simon@ruderich.org>
Fri, 12 Apr 2013 13:54:09 +0000 (15:54 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 12 Apr 2013 13:55:30 +0000 (15:55 +0200)
Also add crontab.d/jobs/jobs.hourly6/ directory.

crontab.d/jobs
crontab.d/jobs.hourly6/.gitignore [new file with mode: 0644]

index de29c357959f30bf657f3ecd5c59c09e5f927a81..fb83d9a467d0ca3b5376f7c094c4b70c0a553126 100644 (file)
@@ -30,5 +30,6 @@ PATH=$HOME/bin:$HOME/.shell/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/u
 47 6 * * 7 run-parts --report .crontab.d/jobs.weekly
 52 6 1 * * run-parts --report .crontab.d/jobs.monthly
 
-# Run every 8 hours.
+# Run every x hours.
+31 */6 * * * run-parts --report .crontab.d/jobs.hourly6
 39 */8 * * * run-parts --report .crontab.d/jobs.hourly8
diff --git a/crontab.d/jobs.hourly6/.gitignore b/crontab.d/jobs.hourly6/.gitignore
new file mode 100644 (file)
index 0000000..e69de29