#!/bin/sh

BCNUNOLOG="yes"
#. /usr/local/bcnu/etc/bcnuenv
. $BCNUHOME/agent/agent_head

for again in `ls $BCNUHOME/retry/* 2>/dev/null`
do
if $again
   then
	rm $again
	echo "$STAMP reran ($again)" >>$BCNUHOME/logs/retry.log 
   else
	echo "$STAMP agent(retry): unable to rerun ($again)"
	echo "$STAMP unable to rerun ($again)" >>$BCNUHOME/logs/retry.log 
fi	
done
