delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <mn DOT 7bb77d7398948eea DOT 51129 AT pbs DOT org> <45F9AB2D DOT 3090704 AT cygwin DOT com> <mn DOT 7bed7d7353a3a7ee DOT 51129 AT pbs DOT org> <02f601c76749$1ab68030$9c0010ac AT wirelessworld DOT airvananet DOT com> <mn DOT 7c277d73fb146edb DOT 51129 AT pbs DOT org> <030e01c7674c$c63b29d0$9c0010ac AT wirelessworld DOT airvananet DOT com> <etcg7r$hvh$1 AT sea DOT gmane DOT org> |
Subject: | RE: Installing Cron on Windows 2003 Server... |
Date: | Fri, 16 Mar 2007 10:20:34 -0000 |
Message-ID: | <01ca01c767b4$bd346410$2e08a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <etcg7r$hvh$1@sea.gmane.org> |
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 |
On 15 March 2007 22:10, Matthew Woehlke wrote: > Pierre A. Humblet wrote: >> It's working because we know it's trying to mail you something. >> To find out what, remove MAILTO="" and install a poor man's mailer as >> follows. It will write the mail output to /cronmail.txt >> >> ~: cd / >> /: cat > cronmail.sh >> cat > /cronmail.txt > > (NOTE: type CTRL-C after typing the above line) Ctrl+D is a better way to close the file actually. If you mean EOF, why not *say* EOF? :-) > > ...and shouldn't that be 'cat >> ...' instead of 'cat > ...'? Well, the difference would be whether you (or in this case, Kevin) want(s) all the 'mails' to get appended to an ever-growing cronmail.txt, or want each new 'mail' to overwrite the previous one. For cron jobs, you often do only care about the results from the most recent run. Think of it as a very simple form of logfile rotation! cheers, DaveK -- Can't think of a witty .sigline today.... -- 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 |