#!/bin/bash # # $Id: mysqlar.monthly.sh 35 2004-03-10 15:48:41Z dewitge $ # # MySQL Activity Report # Daily cron job to archive the activity report for the past day # # Copyright 2004 Gert Dewit <gert.dewit@sos.be> graph_script=${graph_script:="/usr/bin/mysqlar_graph"} archivedate=$(date -d'last month' "+%F") start=${archivedate} ext="-${archivedate}" monthly=1 ${graph_script} 1>/dev/null