Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: zzapper <david@tvis.co.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@4ax.com> <Pine.GSO.4.56.0311211343350.10399@slinky.cs.nyu.edu> <a2osrvcuavts6o0rvukhrr6ath5gk56c8j@4ax.com> <Pine.GSO.4.56.0311211436360.14724@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.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/

