This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

message


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 Proprietario@1g-m2hg3kl
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]