delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <5.1.0.14.0.20020625225450.02d41b60@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
Date: | Tue, 25 Jun 2002 22:55:39 -0400 |
To: | James Butenhoff <jpb AT uhc DOT com>, cygwin AT cygwin DOT com |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Cron & file owner issues |
In-Reply-To: | <200206251520.KAA179472@bis5.uhc.com> |
Mime-Version: | 1.0 |
At 11:20 AM 6/25/2002, James Butenhoff wrote: >Howdy! > >I am just trying out Cygwin. I am running it under NT4(SP6?). I >am running "CYGWIN_NT-4.0 6049FHGZD817 1.3.10(0.51/3/2) 2002-02-25 >11:14 i686 unknown" per the uname command. I would like to use cron >to manage some work and am having difficulties getting it going. > >I have installed cygrunsrv V0.95 and cron (3.0.1-6?). Used the suggested >cmd, `cygrunsrv -I cron -p /usr/sbin/cron -a -D`, to add the process >to NT's services. Configured service to run as SYSTEM. NT task manager >shows the service running. Cygwin's ps command also shows the cron >process: > >jbutenh AT 6049FHGZD817[0]: ~> ps -aef > UID PID PPID TTY STIME COMMAND > SYSTEM 214 1 ? Jun 24 /usr/bin/cygrunsrv > SYSTEM 363 214 ? Jun 24 /usr/sbin/cron > jbutenh 375 1 con 09:22:40 /usr/bin/tcsh > jbutenh 269 375 con 09:22:44 /usr/bin/ps >jbutenh AT 6049FHGZD817[0]: ~> ps -ael > PID PPID PGID WINPID TTY UID STIME COMMAND > 214 1 214 214 ? 18 Jun 24 /usr/bin/cygrunsrv > 363 214 214 359 ? 18 Jun 24 /usr/sbin/cron > 375 1 375 108 con 1003 09:22:40 /usr/bin/tcsh > 370 375 370 96 con 1003 09:22:56 /usr/bin/ps > >I have created a simple cron test job: >jbutenh AT 6049FHGZD817[0]: ~> crontab -l ># DO NOT EDIT THIS FILE - edit the master and reinstall. ># (/tmp/crontab.121 installed on Tue Jun 25 09:26:46 2002) ># (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55 corinna Exp $) >* * * * * /usr/bin/date >> /tmp/mydate >jbutenh AT 6049FHGZD817[0]: ~> > >But the crontab I have entered does not execute properly. :-( >I suspect there is a permissions issue, but stumbled into another >issue trying to eliminate that possibility. Follow these cmds: > >jbutenh AT 6049FHGZD817[0]: /tmp> ls -l mydate >-rw-r--r-- 1 jbutenh None 27 Jun 18 10:37 mydate >jbutenh AT 6049FHGZD817[0]: /tmp> chmod -v 666 mydate >mode of `mydate' changed to 0666 (rw-rw-rw-) >jbutenh AT 6049FHGZD817[0]: /tmp> chgrp -v Everyone mydate >changed group of `mydate' to Everyone >jbutenh AT 6049FHGZD817[0]: /tmp> ls -l mydate >-rw-r--r-- 1 jbutenh None 27 Jun 18 10:37 mydate >jbutenh AT 6049FHGZD817[0]: /tmp> > >This is on my local hard disk which has a NTFS file system. >Do these things not work in NTFS, or do I have something >misconfigured? Can you offer any suggestions? Why doesn't chmod work? http://cygwin.com/faq/faq_4.html#SEC45 Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |