cron scripts definitely needed cleanup, so here it goes
authoraquarius <aquarius@251d49ef-1d17-4917-a970-b30cf55b089b>
Fri, 4 Jan 2008 22:03:49 +0000 (22:03 +0000)
committeraquarius <aquarius@251d49ef-1d17-4917-a970-b30cf55b089b>
Fri, 4 Jan 2008 22:03:49 +0000 (22:03 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@32 251d49ef-1d17-4917-a970-b30cf55b089b

sample-configuration/crontab [deleted file]
sample-configuration/prometheus.cron [new file with mode: 0644]

diff --git a/sample-configuration/crontab b/sample-configuration/crontab
deleted file mode 100644 (file)
index 1b976f2..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# /etc/crontab: system-wide crontab
-# Unlike any other crontab you don't have to run the `crontab'
-# command to install the new version when you edit this file.
-# This file also has a username field, that none of the other crontabs do.
-
-SHELL=/bin/sh
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-# m h dom mon dow user command
-17 *   * * *   root    run-parts --report /etc/cron.hourly
-25 6   * * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily
-47 6   * * 7   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly
-52 6   1 * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly
-#
-
-0 7 * * *  root nice /root/qos/prometheus -p
-0 8 * * *  root nice /root/qos/prometheus -p
-0 9 * * *  root nice /root/qos/prometheus -p
-0 10 * * *  root nice /root/qos/prometheus -p
-0 11 * * *  root nice /root/qos/prometheus -p
-0 12 * * *  root nice /root/qos/prometheus -p
-0 13 * * *  root nice /root/qos/prometheus -p
-0 14 * * *  root nice /root/qos/prometheus -p
-0 15 * * *  root nice /root/qos/prometheus -p
-0 16 * * *  root nice /root/qos/prometheus -p
-0 18 * * *  root nice /root/qos/prometheus -p
-0 19 * * *  root nice /root/qos/prometheus -p
-0 20 * * *  root nice /root/qos/prometheus -p
-0 21 * * *  root nice /root/qos/prometheus -p
-0 22 * * *  root nice /root/qos/prometheus -p
-0 0 * * *  root nice /root/qos/prometheus -p
-0 1 * * *  root nice /root/qos/prometheus -p
-0 2 * * *  root screen -L -d -m /root/qos/prometheus
diff --git a/sample-configuration/prometheus.cron b/sample-configuration/prometheus.cron
new file mode 100644 (file)
index 0000000..4e9f8d3
--- /dev/null
@@ -0,0 +1,5 @@
+# Prometheus Cron file now made with 5% more love
+# (thanks to Danny for suggestion)
+
+0 0,1,7-23 * * *  root nice /root/qos/prometheus -p
+0 2 * * *  root screen -L -d -m /root/qos/prometheus
This page took 0.181305 seconds and 4 git commands to generate.