delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/28/03:21:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: r <r DOT trev_ AT inwind DOT 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
User-Agent: slrn/pre0.9.9-112/mm/ao (Win32)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019