delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/21/13:12:26

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <af075b00807211011n5f1d0ce2q14f437d73c9df407@mail.gmail.com>
Date: Mon, 21 Jul 2008 18:11:51 +0100
From: "Julio Emanuel" <costaju AT gmail DOT com>
To: "Cygwin Mailing list" <cygwin AT cygwin DOT com>
Subject: cron and mail: a stupid question (please don't kill me)
In-Reply-To: <af075b00807210917s424b5400u414fc4c422d28843@mail.gmail.com>
MIME-Version: 1.0
References: <af075b00807210917s424b5400u414fc4c422d28843 AT mail DOT gmail DOT com>
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

Hi all,

I've searched a bit already, and have been through the cron, ssmtp,
and crontab manpages. Still, there is something that I don't quite
understand: why on earth the cron job's output are put in e-mails??

I don't have any experience with the "mailing subsystem" of unix /
cygwin worlds, so I'm quite lost here.

All I want to do is:
a) have some jobs running unnatended and scheduled; (apparently done,
whith some simple tests)
b) have the output of this jobs LOGGED, preferably on syslog, with
some identification of the process who generated it; (don't have a
clue??!)

So, I began fiddling with ssmtp (which seemed to me like the most
simple and direct thing to use, since I don't want any real mail on my
host)... but all I achieved was some mails sent to our real mail relay
with some unknown addresses (it tried with some domain account which
doesn't have email).

SO... for the question: Is it possible to do a) and b), as layed out
above, without to mess with mails and such? How?

___________
Julio Costa

--
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