#!/bin/ksh
# Filename: rlog.sh
# Usage: Rotate the report.log after the shiporders binary is executed.
#
This script will monitor any error messages in the report.log and to be
#
compared with OPEN MARKET FSB screen see: http://transact02.web.aol.com/tms-ts/merchant/
#
index.cgi?key_store_seqid=450001
# History: 09-21-99, created
# Added Note; This script serves as a generic rotation for logs
and is placed in the crontab entry.
DIR=/data/Transact/logs
DATE=`date '+%Y-%m-%d'`
FILE=report.log
cd $DIR
if [[ ! -e $file ]] then
mv $FILE $FILE${DATE}
fi