To be sure, the associated cron job statement is very simple:

   56  00 * * * /usr/local/bin/system-state

The latter is a bash shell script meant to gather information about the machine and write it to a file. The relevant lines are:

 #!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
 DATE="/bin/date +%Y%m%d"
 HOSTNAME=`/bin/cat /etc/hostname`
 HSC=/root/system-state_$HOSTNAME-`$DATE`.txt
 if [ -f /sbin/lvdisplay ]; then
         lvdisplay >> $HSC
 fi
 exit 0

As far as the output of this script is concerned, I have no complaints. The only problem is the fd leak error.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to