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 X-Lotus-FromDomain: NNNG From: jacharya AT nnng DOT com To: cygwin AT cygwin DOT com Message-ID: <86256D02.0070B68D.00@mail.nnng.com> Date: Tue, 8 Apr 2003 15:31:07 -0500 Subject: Cron NOT working Cygwin 1.3.22 Version on Windows 2000 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Summary ========== ps -ef does NOT show cron process and the script check_db_status.sh does NOT run as well. However, I do see the services in Windows after net start command. Any feedback will be very much appreciated............................... Cygwin Version ============== $ uname -a CYGWIN_NT-5.0 DELLDEMO 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin Crontab Entries =============== Jacharya AT DELLDEMO ~ $ crontab -l 00,15,30,45 7-21 * * * /home/Jacharya/check_db_status.sh delltest $ pwd /var/cron/tabs $ ls -lt total 1 -rw-r----- 1 Jacharya SYSTEM 361 Apr 8 14:01 Jacharya $ cat Jacharya # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.1360 installed on Tue Apr 8 14:01:36 2003) # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55 corinna Exp $) $ crontab -l 00,15,30,45 7-21 * * * /home/Jacharya/check_db_status.sh delltest $ cat /etc/group SYSTEM:S-1-5-18:18: None:S-1-5-21-1645522239-1078145449-839522115-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: ORA_DBA:S-1-5-21-1645522239-1078145449-839522115-1004:1004: $ pwd /home $ ls -lt total 0 drwxrwxrwx+ 3 Jacharya None 0 Apr 4 11:18 . drwxrwxrwx+ 10 Administ Users 4096 Apr 4 11:18 .. drwxrwxrwx+ 4 Administ Users 4096 Apr 4 16:37 Jacharya Stop, Delete and Recreate, Start the Service (under Windows): ------------------------------------------------------------- $ cygrunsrv -E cron $ cygrunsrv -R cron $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" -d "CYGWIN Cron" $ cygrunsrv -S cron OR $ net start cron The cron service is starting. The cron service was started successfully. - Service in Windows: Start -> Programs -> Admin Tools -> Services -> CyGWIN Cron is be displayed Allowing/Disallowing cron: -------------------------- $ cd /etc/cron.d $ ls -la total 0 drwxrwxrwx+ 2 Administ Users 0 Apr 3 14:21 . drwxrwxrwx+ 9 Administ Users 4096 Apr 3 14:31 .. $ echo Jacharya >cron.allow $ ls -lt total 1 -rw-r--r-- 1 Jacharya None 9 Apr 8 14:13 cron.allow $ $ cat /etc/cron.d/cron.allow Jacharya Cron Log: --------- $ pwd /var/log $ ls -lt total 746 -rw-r--r-- 1 SYSTEM Administ 294 Apr 8 14:28 cron.log $ cat /var/log/cron.log [672] cron started [984] cron started [672] cron started [1812] cron started [1728] cron started [1236] cron started [1764] cron started [1628] cron started [892] cron started [588] cron started [1808] cron started [1360] cron started [1244] cron started [1172] cron started [992] cron started [1104] cron started [1204] cron started [992] cron started Cron Status: ------------ $ ps -ef|grep cron **This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed and may be legally privileged. If you are NOT the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. Near North National Group, Inc. and/or its subsidiaries is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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/