A rough account of I did with Emacs recently.
#!/bin/sh echo -n "Checking $1: " EXPECTED=`mp3info -f "%m:%02s" "$1" 2>/dev/null` if [ -z "$EXPECTED" ] then EXPECTED="0:00" fi ACTUAL=`mpg123 -t "$1" 2>&1 | sed 's/^\[\(.*\)\].*$/\1/' | tail -1` if [ "$EXPECTED" != "$ACTUAL" ] then echo "Mismatch: expected $EXPECTED, got $ACTUAL" else echo "OK" fi
From: root@waider.ie (Cron Daemon) To: root@waider.ie Subject: CronI finally got fed up of it and tracked it down. Turns out it's due to there being both a /etc/rotate.d/cron and also an entry for /var/log/cron in /etc/rotate.d/syslog. Now, isn't that obvious from the error message? GAH.run-parts /etc/cron.daily Date: Wed, 21 Feb 2001 04:02:01 GMT error: cron:1 duplicate log entry for /var/log/cron
previous month | current month | next month
Waider | short month. drink faster. |