This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Chronic Cron - cyg.txt (0/1)

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

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

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

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.

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

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]