]> granicus.if.org Git - cronie/commitdiff
Dailyjobs are here for users who don't like anacron.
authorMarcela Mašláňová <mmaslano@redhat.com>
Tue, 3 Nov 2009 09:13:50 +0000 (10:13 +0100)
committerMarcela Mašláňová <mmaslano@redhat.com>
Tue, 3 Nov 2009 09:13:50 +0000 (10:13 +0100)
0hourly executes cron.hourly scripts and other will be executed
by dailyjobs.

contrib/dailyjobs [new file with mode: 0644]

diff --git a/contrib/dailyjobs b/contrib/dailyjobs
new file mode 100644 (file)
index 0000000..0101c16
--- /dev/null
@@ -0,0 +1,9 @@
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+
+# run-parts
+02 4 * * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.daily
+22 4 * * 0 root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.weekly
+42 4 1 * * root [ ! -f /etc/cron.hourly/0anacron ] && run-parts /etc/cron.monthly