Why does the following end by its self.
I need to run zz every 5 seconds if there is any *.txt file . This falls out all the time. Any suggestions.
The shell script is named import. I invoke it with ./import &
If there is another way I'm game!!
Thanks
Brandt
#pg import
while true
do
if [ -f /appl/helpstar/*.txt ]
then
/appl/scripts/zz 2>&1 > /dev/null
fi
done
sleep 5
I need to run zz every 5 seconds if there is any *.txt file . This falls out all the time. Any suggestions.
The shell script is named import. I invoke it with ./import &
If there is another way I'm game!!
Thanks
Brandt
#pg import
while true
do
if [ -f /appl/helpstar/*.txt ]
then
/appl/scripts/zz 2>&1 > /dev/null
fi
done
sleep 5