Unlike linux, cygwin does not warn me about new mail messages
in inbox.
Is it possible to change this behaviour ?
I thought to a bash script runned by cron every ten minuts:


#!/bin/sh                                

if grep -q e /var/spool/mail/Proprietario
 then echo "ok ci siamo"                 
fi


but so cron send me an email with the text "ok ci siamo".
I tought at the write command 


#!/bin/sh                                

if grep -q e /var/spool/mail/Proprietario
 then echo "ok ci siamo" | write [EMAIL PROTECTED]
fi                                        


but in cygwin, there is no "write" command. Is there something
like it or another way to be advised ??
                                        


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to