This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Running cygwin cron under WinXP SP1
- From: "Brian Kelly" <brian dot m dot kelly at verizon dot net>
- To: <cygwin at cygwin dot com>
- Date: Thu, 19 Feb 2004 08:11:35 -0500
- Subject: RE: Running cygwin cron under WinXP SP1
Be sure you leave a blank line at the bottom of the crontab. This a
little
detail that is often overlooked - but one that would have been
discovered with a little research on unix cron. (cron of course has
*life* outside of cygwin) I'm not at all suggesting that this is the
problem - just one more thing to be aware of.
Brian Kelly
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Thorsten Kampe
Sent: Thursday, February 19, 2004 7:07 AM
To: cygwin@cygwin.com
Subject: Re: Running cygwin cron under WinXP SP1
* Russell Hind (2004-02-19 10:55 +0100)
> I have just installed the latest cygwin and set up cron to run using
>
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
>
> It is running as a service (both in XP task manager and in ps -ef)
>
> But I can't get it to execute commands. I have tried a crontab as
both
> /etc/crontab and /var/cron/tabs/Russell
How did you create those? crontab -e for the latter? You know that the
system-wide crontab has a additional field for the user?
cron logs tho /var/whatever and into the eventviewer. Please consult
those two logs and explain further "can't get it to execute commands".
Try redirecting the output with ">". For executables use the full path
or the PATH variable inside the crontab. Please read the fine manual
which answers all FAQs.
Thorsten
--
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/
--
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/