From 7619acd541d905096bdaa7b1908554e8f4fc208a Mon Sep 17 00:00:00 2001 From: aquarius Date: Fri, 4 Jan 2008 22:03:49 +0000 Subject: [PATCH] cron scripts definitely needed cleanup, so here it goes git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@32 251d49ef-1d17-4917-a970-b30cf55b089b --- sample-configuration/crontab | 33 ---------------------------- sample-configuration/prometheus.cron | 5 +++++ 2 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 sample-configuration/crontab create mode 100644 sample-configuration/prometheus.cron diff --git a/sample-configuration/crontab b/sample-configuration/crontab deleted file mode 100644 index 1b976f2..0000000 --- a/sample-configuration/crontab +++ /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 index 0000000..4e9f8d3 --- /dev/null +++ b/sample-configuration/prometheus.cron @@ -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 -- 2.30.2