# /usr/scripts/shift2.script # # Shell script /usr/scripts/shift2.script # # Author: Kevin FitzGerrell # # Run after the second shift by the root crontab, this script runs # scripts to generate reports from data periodically polled from the DCS. # # last modified 5/5/99 # /usr/scripts/sampling_eod.script | awk '{ print $3 }' > /usr/scripts/report2_eod.tmp cat /usr/scripts/yesterday > /usr/scripts/shift2.report echo "Night shift" >> /usr/scripts/shift2.report awk -f /usr/scripts/report.awk /usr/scripts/report2.tmp >> /usr/scripts/shift2.report awk -f /usr/scripts/report2_more.awk /usr/scripts/report2_eod.tmp >> /usr/scripts/shift2.report lp -d LP51 /usr/scripts/shift2.report