delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/02/14:58:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: multiple cron cause problem
Date: Tue, 2 Mar 2004 20:57:40 +0100
Lines: 48
Message-ID: <ozsvzk69ybjg.dlg@thorstenkampe.de>
References: <HMEFLKPCFMNCFAHAEGPOCEBECAAA DOT mchen AT coe DOT ubc DOT ca> <1039zzlhcv03r$.dlg AT thorstenkampe DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: isi-dialin-129-212.isionline-dialin.de
User-Agent: 40tude_Dialog/2.0.10.1de

*Please do NOT send private email*

* Michael Chen (2004-03-02 20:12 +0100)
> I read /usr/share/doc/Cygwin/cron.README

I doubt that.

> and see that cron in cygwin is actually a windows 2000 service,
> surprising!

It is not by itself. You have to install it as described in the
readme.

> But does it mean I shoud see cron in the NT Task Manager once
> windows 2000 starts?

If you set the start type of the service to "automatically", yes.
Otherwise no.

> I checked carefully, and it is not there.

Either you didn't install it as a services or it isn't run
automatically: read /var/cron/log, the system and application entries
in the eventviewer.

> Without calling it from termail, cron won't do anything on my
> machine.

As you stated it DOESN'T DO ANYTHING EVEN WHEN CALLING IT FROM A
SHELL. What do yo type? - "net start cron"?

> I editted my crontab file /var/cron/tabs/Administrator to let it
> write date to a log file every minute and nothing happens!

I and others already told you that your command line is totally wrong.
You didn't even bother to test it in a shell. Do you expect cron to
compensate for your inability in testing?!

> By the way, cron man page says that it send output to user. But I
> didn't see 'mail' or 'sendmail' package in Cygwin. Why?

Because you didn't read /usr/share/doc/Cygwin/cron.README. There it
says that "Mail is send using /usr/sbin/ssmtp instead of using
sendmail". It does it even if there is no ssmtp by redirecting output
and error messages to "~/dead.letter".


Thorsten


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