Search Results

Search: Posts Made By: santhoshks
3,792
Posted By santhoshks
Hi , Try this.. #!/usr/bin/ksh while...
Hi ,
Try this..

#!/usr/bin/ksh
while [ 1 ]
do
if [ -f /data/source/a.txt ]
then
echo " File found"
exit 0
else
sleep 30 # sleeps for 30 seconds
echo "not found "
fi
done

code...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy