delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <6910a60807201111p7451ccecl22cef18fa86e2875@mail.gmail.com> |
Date: | Sun, 20 Jul 2008 20:11:32 +0200 |
From: | "Reini Urban" <rurban AT x-ray DOT at> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cron jobs and email |
In-Reply-To: | <loom.20080720T122044-115@post.gmane.org> |
MIME-Version: | 1.0 |
References: | <loom DOT 20080720T122044-115 AT post DOT gmane DOT org> |
X-Google-Sender-Auth: | a7f84c523ef4932b |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
2008/7/20 r: > I've a problem with cron, it does not send email > when the job is done. Very good! I'm seeing improvement following http://www.faqs.org/rfcs/rfc1855.html Netiquette Esp. "Mail should have a subject heading which reflects the content of the message." > I read " /usr/share/doc/Cygwin/cron-4.1-6.README" > and followed all the instruction but nothing email > ( the jobs in crontab are done ok ). Also "cron & mail"? > My /var/log/cron.log is empty, there is no > $HOME/cron.log, the exim log doesn't specify anything > about cron emails, my /etc/aliases is > > postmaster: Proprietario > nobody: Proprietario > root: Proprietario > > I added to my crontab MAILTO ( even if I read it is not > necessary ) : > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.fh8FmSF6p5 installed on Sun Jul 20 14:15:14 2008) > # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) > > MAILTO=Proprietario This should be a valid email address? Try sending the email on the commandline to this address. cron does it as your local user or as user SYSTEM, dependent of how you installed your cron service. cron just uses the /usr/bin/sendmail symlink. Check your eventlog for cron errors. Maybe another RFC will help, SMTP http://www.faqs.org/rfcs/rfc821.html > 59 18 * * 6 /bin/backup.sh > 17 14 20 7 * /bin/prova.sh > > I searched with google, but I did not find anything about this. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |