On Fri, 26 May 2000, Suresh Ramasubramanian wrote:

>  SEN saw fit to inform LI that: 
> 
> >>> Can I have my fetchmail running in the bkground
> >>> while being connected , inform me by playing a sound that
> >>>I've some mail ?
> 

hello
   i have a script which starts in the backgroound at login, which does
the thing you ask. It goes something like this
--------------------------------------------------------
while (sleep 1m)
do
if [ /var/spool/mail/$USER -nt tm ]
then
echo -e " \a"
touch tm
fi
done
----------------------------------------------------------
hope it helps
                 sreangsu



-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to