X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: r <r.trev_@inwind.it>
Subject:  message
Date: Mon, 28 Jul 2008 07:21:10 +0000 (UTC)
Lines: 28
Message-ID:  <slrng8qsr6.2v0.r.trev_@ccdomini-06.fastwebit.ofc>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: slrn/pre0.9.9-112/mm/ao (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


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/

