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 From: "Brian Kelly" To: Subject: RE: Running cygwin cron under WinXP SP1 Date: Thu, 19 Feb 2004 08:11:35 -0500 Message-ID: <08a701c3f6e9$e725e8a0$6700a8c0@maxstars8g31h2> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <1iz2fhtxkynr2.dlg@thorstenkampe.de> X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [138.89.69.207] at Thu, 19 Feb 2004 07:11:34 -0600 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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Thorsten Kampe Sent: Thursday, February 19, 2004 7:07 AM To: cygwin AT cygwin DOT 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/