delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/21/15:14:58

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: Chronic Cron - cyg.txt (0/1)
Date: Fri, 21 Nov 2003 20:13:54 +0000
Lines: 42
Message-ID: <otrsrvg1t78sd2qjrqclpsaqgakobjnh83@4ax.com>
References: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22 AT 4ax DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0311211343350 DOT 10399 AT slinky DOT cs DOT nyu DOT edu> <a2osrvcuavts6o0rvukhrr6ath5gk56c8j AT 4ax DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0311211436360 DOT 14724 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)

>
>The last message seems to indicate the cause of the problem.  What's the
>output of "ls -ld /etc/cron.d"?
>

Igor,
I'd created /etc/cron.d at some stage manually as a FILE .

Have now deleted it and created it as a DIRECTORY.

BINGO everything works

(I don't know where that is on a stupidity scale, but maybe Mark could
add a test for this to his cron_diagnose.sh)

In any case Thanx Very Much!!!

BTW here's a very simple crontab (write pwd to pwd.txt every minute)
for test purposes.

* * * * * pwd >> /tmp/pwd.txt

ANYWAY CYGWIN CRON DOES WORK on WINXP HOME, so if you read this 'cos
you're struggling with cron. Don't be too dis-heartened you will get
there.

BTW this is what you need

$ cygrunsrv --stop cron
$ cygrunsrv --remove cron
$ cygrunsrv --install cron -p /usr/sbin/cron -a -D
$ cygrunsrv --start cron

If all goes well you can see cron in the Windows Services tool in
Control Panel.
zzapper
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


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