This is the mail archive of the cygwin@cygwin.com 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"?
>

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/


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