#!/bin/sh

if [ -r $BCNUHOME/flags/bcnualert.run ]
	then
		exit
fi

date > $BCNUHOME/flags/bcnualert.run

#execute the command in $1 with file $2
eval $1 <$2 1>>$BCNUHOME/logs/run.log 2>&1
rm $2
rm $BCNUHOME/flags/bcnualert.run
