delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/15/16:25:49

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kevin Markle <kmarkle AT pbs DOT 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 DOT 7bb77d7398948eea DOT 51129 AT pbs DOT org> <45F9AB2D DOT 3090704 AT cygwin DOT com> <mn DOT 7bed7d7353a3a7ee DOT 51129 AT pbs DOT org> <etcchr$60d$1 AT sea DOT gmane DOT org>
Reply-To: kmarkle AT pbs DOT org
Mime-Version: 1.0
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

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/

- Raw text -


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