maxthree
01-13-2003, 12:40 AM
say that I connect to a linbox by terminal window
say I have a script while.sh that loops endlessly ...
while /bin/true;
do
echo "looping" | mail me@domain.com
sleep 30
done
say I launch it with NOHUP
nohup while.sh &
say I logout and login again
HOW DO I STOP THE SCRIPT? if I do PS it is not longer shown as a process.
say I have a script while.sh that loops endlessly ...
while /bin/true;
do
echo "looping" | mail me@domain.com
sleep 30
done
say I launch it with NOHUP
nohup while.sh &
say I logout and login again
HOW DO I STOP THE SCRIPT? if I do PS it is not longer shown as a process.