The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-05-2009
prismtx prismtx is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 24
Thanks

Thanks Padow, that worked great.

Code:
abc=`find  /export/home/MYACCT/ -type f -name \ar5.log ! -newer /WORKDIR/REF`

if [ -z "$abc" ]; then
   count=${count}+1
   sleep 3600
else
  /export/home/MYACCT/datetest.ksh
  exit 0
fi
done

echo "No file to process"
exit 5