delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/08/05:26:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <43479098.E99060B4@dessent.net>
Date: Sat, 08 Oct 2005 02:25:44 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cron problem
References: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071413450 DOT 480 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071005110 DOT 501 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT WNT DOT 4 DOT 58 DOT 0510071635180 DOT 572 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071114350 DOT 501 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT WNT DOT 4 DOT 58 DOT 0510071835090 DOT 540 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071320100 DOT 501 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT WNT DOT 4 DOT 58 DOT 0510081054270 DOT 1064 AT sn2307128>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Orfeo Da Via wrote:

> $ /usr/bin/cron-config
> 
> ...as service? yes
> ...yourself?   no
> ...ntsec?      yes
> ...start ..service? yes
> 
> now:
> 
> $ cygrunsrv -L
>   cron
> 
> $ cygrunsrv -Q cron
>  Service             : cron
>  Display name        : Cron daemon
>  Current State       : Running
>  Controls Accepted   : Stop
>  Command             : /usr/sbin/cron -D
> 
> $ crontab -l
>  # DO NOT EDIT THIS FILE - edit the master and reinstall.
>  # (/tmp/crontab.300 installed on Sat Oct  8 10:23:16 2005)
>  # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp  $)
>  * 10 * * * /bin/date >> /home/micekiller/tmp/date.out 2&1

I don't see the step where you ran "crontab -e" to actually edit the
crontab.  How are you doing this?  If you are just editing the file with
an editor and not using "crontab -e" then that is the reason it is not
working.  You can't just edit the crontab.  At the least you need to HUP
the daemon.

Brian

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