Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: Chronic Cron - cyg.txt (0/1) Date: Fri, 21 Nov 2003 20:13:54 +0000 Lines: 42 Message-ID: References: <0plsrvk55ch8chmvdrgmp2a9i2ni4mhd22 AT 4ax DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/