From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10992 invoked by alias); 5 Dec 2002 14:05:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10979 invoked from network); 5 Dec 2002 14:05:37 -0000 Received: from unknown (HELO ns0.uk.circle.com) (212.161.1.7) by sources.redhat.com with SMTP; 5 Dec 2002 14:05:37 -0000 Received: from mime-london.uk.circle.com (mime-london.uk.circle.com [10.20.0.101]) by ns0.uk.circle.com (8.9.3/8.9.3) with ESMTP id OAA84114 for ; Thu, 5 Dec 2002 14:08:58 GMT (envelope-from Vince.Hoffman@uk.circle.com) Received: from ex-london.uk.circle.com (unverified) by mime-london.uk.circle.com (Content Technologies SMTPRS 4.2.10) with ESMTP id ; Thu, 5 Dec 2002 14:05:39 +0000 Received: by EX-LONDON with Internet Mail Service (5.5.2653.19) id <4B7LS97W>; Thu, 5 Dec 2002 14:05:36 -0000 Message-ID: <3500515B75D9D311948800508BA379559509B8@EX-LONDON> From: Vince Hoffman To: "'Buck Turgidson'" , cygwin@cygwin.com Subject: RE: Cron Won't Run Jobs Date: Thu, 05 Dec 2002 06:29:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-12/txt/msg00279.txt.bz2 Moer info would be good. (cygcheck as an attachment is always a good start :) does monsql pop up a window ? (services that interact with the desktop need spacial permission) try adding a line like * * * * * /usr/bin/touch /tmp/crond_running to your crontab and see if that works, > -----Original Message----- > From: Buck Turgidson [mailto:jc_va@hotmail.com] > Sent: 05 December 2002 13:51 > To: cygwin@cygwin.com > Subject: Cron Won't Run Jobs > > > I installed CYGWIN yesterday, and am having trouble getting > cron to work. > My cron job, set to run every minute, does not execute. > > I have read through the archives, and below is relevant data. > > I would appreciate any advice on what to try next > > > chmod 1777 /var/cron > chmod 1777 /var/cron/tabs > > cygrunsrv -E cron > cygrunsrv -R cron > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" > cygrunsrv -S cron > > > This is what the process list looks like: > > /var/cron > ps -ef > UID PID PPID TTY STIME COMMAND > buck 395 1 con 08:36:06 /usr/bin/bash > SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv > SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron > buck 63 395 con 08:48:11 /usr/bin/ps > > > This is /etc/group > > /var/cron > cat /etc/group > SYSTEM:S-1-5-18:18: > None:S-1-5-21-926890155-1422859606-844764980-513:513: > Administrators:S-1-5-32-544:544: > Backup Operators:S-1-5-32-551:551: > Guests:S-1-5-32-546:546: > Power Users:S-1-5-32-547:547: > Replicator:S-1-5-32-552:552: > Users:S-1-5-32-545:545: > /var/cron > > > > > This is my cronjob > > /var/cron > crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002) > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55 > corinna Exp $) > */1 * * * * monsql > /var/cron > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/