#read the last 2 line of file
#new=`tail -n 2 /data/bakper30minExp.log`
#echo $abc
#read the last 2 line of file
#success=`tail -n 2 /data/bakper30minExpSuccess.log`
#echo $test
#if [ "$new" == "$success" ];then
# echo "Exp success"
# sqlplus mnshbak/mnshbak@orcl @/u/dropPer30min.sql
# imp mnshbak/mnshbak@orcl file=/data/bakper30min.dat fromuser=mnsh touser=mnshbak log=/data/bakper30minImp.log
# cp /data/bakper30min.dat /data/bakper30minSuccess.dat
#else
# echo "Exp fail"
#fi
#new=`tail -n 2 /data/bakper30minExp.log`
#echo $abc
#read the last 2 line of file
#success=`tail -n 2 /data/bakper30minExpSuccess.log`
#echo $test
#if [ "$new" == "$success" ];then
# echo "Exp success"
# sqlplus mnshbak/mnshbak@orcl @/u/dropPer30min.sql
# imp mnshbak/mnshbak@orcl file=/data/bakper30min.dat fromuser=mnsh touser=mnshbak log=/data/bakper30minImp.log
# cp /data/bakper30min.dat /data/bakper30minSuccess.dat
#else
# echo "Exp fail"
#fi