Customize Daily Run Report

Charles Howse chowse at charter.net
Wed Aug 20 05:09:57 PDT 2003


Hi,
I have the following in /usr/local/etc/periodic/daily/100.cvsup

#!/usr/local/bin/bash
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile

When I get my daily run report, the output of the above script is
appended to the report without a blank line or (what I would call) a
header line.

Would it be acceptable to modify my script as follows:

#!/usr/local/bin/bash
Echo >> which.file
Echo "Output of /usr/local/etc/periodic/daily/100.cvsup:" >> which.file
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile

Where 'which.file' is the daily run report?
This is a littly picky, I know.


Thanks,
Charles




More information about the freebsd-questions mailing list