X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Kevin Markle <kmarkle@pbs.org>
Subject:  Re: Installing Cron on Windows 2003 Server...
Date:  Thu, 15 Mar 2007 17:24:28 -0400
Lines: 47
Message-ID:  <mn.7c147d7335546f9e.51129@pbs.org>
References:  <mn.7bb77d7398948eea.51129@pbs.org> <45F9AB2D.3090704@cygwin.com> <mn.7bed7d7353a3a7ee.51129@pbs.org> <etcchr$60d$1@sea.gmane.org>
Reply-To: kmarkle@pbs.org
Mime-Version:  1.0
Content-Type:  text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding:  8bit
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

After serious thinking René Berber wrote :
> Kevin Markle wrote:
>
>> Larry Hall (Cygwin) explained on 3/15/2007 :
>>> Kevin Markle wrote:
>>>> Hello,
>>>> 
>>>> I'm attempting to install cron on a Windows 2003 machine and am
>>>> somewhat Unix challanged. Is there a documented procedure that works
>>>> somewhere. It seems that there are tons of posts out relating to this
>>>> but they all seem to offer different information. :o) I was wondering
>>>> if anybody has had any luck actually getting cron to work on a w3k
>>>> machine. If possible I would like to run the service with a Network
>>>> login if not a local admin would work...
>>> 
>>> /usr/share/doc/Cygwin/cron.README
>> 
>> I used that and it worked I have installed the service as a network user
>>> logged in as that user and created this crontab file but it doesn't
>> run. The file runs okay from command prompt but not from the crontab file?
>> 
>> 1       *       *       *       *       /time.bash > /dev/null 2>&1
>
> It's not clear if you used `crontab -e` or not?  That command is the way to 
> add entries to your crontab, and if it doesn't run that means either cron is 
> not running (as a service) or there is a problem (probably logged in Windows' 
> event log).
>
>> In my reading I gathered that this was a way to get around intalling a
>> mail client.
>
> Setting up cron to get around installing a mail client?  Are you kidding? 
> mail clients (or servers) have nothing to do with cron; cron uses the server 
> (ssmtp or exim, whatever is symbolically linked to sendmail) to send 
> messages.

This is the windows log?
The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot 
be found. The local computer may not have the necessary registry 
information or message DLL files to display messages from a remote 
computer. You may be able to use the /AUXSOURCE= flag to retrieve this 
description; see Help and Support for details. The following 
information is part of the event: /usr/sbin/cron: PID 5060: (kmarkle) 
MAIL (mailed 46 bytes of output but got status 0x0001
).




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

