SOURCES: mysqlard.hourly (NEW), mysqlard.crontab - add hourly job ...
blues
blues at pld-linux.org
Wed Oct 4 17:26:12 CEST 2006
Author: blues Date: Wed Oct 4 15:26:11 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add hourly job that draws graphs
---- Files affected:
SOURCES:
mysqlard.hourly (NONE -> 1.1) (NEW), mysqlard.crontab (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/mysqlard.hourly
diff -u /dev/null SOURCES/mysqlard.hourly:1.1
--- /dev/null Wed Oct 4 17:26:11 2006
+++ SOURCES/mysqlard.hourly Wed Oct 4 17:26:06 2006
@@ -0,0 +1,12 @@
+#!/bin/sh
+# MySQL Activity Report
+# Hourly cron job to draw activity reports
+
+graph_script=${graph_script:="/usr/bin/mysqlar_graph"}
+
+hourly=1 ${graph_script} 1>/dev/null
+daily=1 ${graph_script} 1>/dev/null
+weekly=1 ${graph_script} 1>/dev/null
+monthly=1 ${graph_script} 1>/dev/null
+yearly=1 ${graph_script} 1>/dev/null
+
================================================================
Index: SOURCES/mysqlard.crontab
diff -u SOURCES/mysqlard.crontab:1.1 SOURCES/mysqlard.crontab:1.2
--- SOURCES/mysqlard.crontab:1.1 Wed Oct 4 17:06:32 2006
+++ SOURCES/mysqlard.crontab Wed Oct 4 17:26:06 2006
@@ -1,7 +1,7 @@
#
# cron job for the awffull
#
-#05 * * * * stats nice -n 19 /usr/sbin/mysqlar.hourly
+05 * * * * stats nice -n 19 /usr/sbin/mysqlar.hourly
02 5 * * * stats nice -n 19 /usr/sbin/mysqlar.daily
02 2 * * 0 stats nice -n 19 /usr/sbin/mysqlar.weekly
02 4 1 * * stats nice -n 19 /usr/sbin/mysqlar.monthly
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysqlard.crontab?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list