delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/09/13:22:58

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 9 May 2003 13:13:12 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Harig, Mark A." <maharig AT idirect DOT net>
cc: Sanjay Goel <sanjaygoel AT hotpop DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: cron in cygwin
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E90BA82@ex02.idirect.net>
Message-ID: <Pine.GSO.4.44.0305091306080.9872-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Mark,

The solution you propose is quite drastic and unnecessary.  The problem
you mention has to do with the Cygwin mounts being user, rather than
system, mounts.  First of all, there is a simple way to reset those
without re-running setup.exe and/or reinstalling Cygwin, by using
something like

eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;'`"

(the above is for the archives).

Secondly, it doesn't apply in this case, since I've asked Sanjay for the
output of "mount" already, and that confirmed that his mounts are indeed
system mounts (see <http://cygwin.com/ml/cygwin/2003-05/msg00448.html>).
	Igor

On Fri, 9 May 2003, Harig, Mark A. wrote:

> There once was an obscure problem related to how
> the Cygwin packages were installed.  If you selected
> install 'Just Me' this problem occurred, but
> if you selected install 'All Users', it did not.
> The problem was somewhere in the registry settings.
>
> The fact that you have installed Cygwin on 'D:'
> instead of the customary 'C:' drive made me think
> of this.  Here are some steps you can try:
>
>    1. Re-run 'setup.exe', and select 'All Users'
>       if you haven't already.  Run 'setup.exe'
>       through to its conclusion, and then attempt
>       to run cron.
>
>    2. If that doesn't work, then consider
>       uninstalling Cygwin and reinstalling it
>       on your D: drive, but being careful to
>       select 'All Users'.
>
>    3. If that doesn't work, then consider
>       uninstalling Cygwin and reinstalling it
>       on your C: drive, again being careful to
>       select 'All Users'.
>
> > -----Original Message-----
> > From: Sanjay Goel [mailto:sanjaygoel AT hotpop DOT com]
> > Sent: Friday, May 09, 2003 12:46 AM
> > To: cygwin AT cygwin DOT com
> > Subject: Re: cron in cygwin
> >
> >
> > the script says it did not find any errors in my crontab setup
> > "Harig, Mark A." <maharig AT idirect DOT net> wrote in message
> > news:BADF3C947A1BD54FBA75C70C241B0B9E763395 AT ex02 DOT idirect DOT net...
> > Please try the attached script.  It will attempt
> > to diagnose some common cron configuration
> > problems.  It does not change anything on
> > your computer.  You may need to run it
> > several times because it stops whenever
> > it finds a problem.
> >
> > > -----Original Message-----
> > > From: Sanjay Goel [mailto:sanjaygoel AT hotpop DOT com]
> > > Sent: Thursday, May 08, 2003 9:59 AM
> > > To: cygwin AT cygwin DOT com
> > > Subject: Re: cron in cygwin
> > >
> > >
> > > I tried out
> > > * * * * * /usr/bin/date >> /d/date.log 2>&1
> > > but my date.log is not updating ...
> > > the cron is still not working ..
> > > as per post by a12 I also did
> > >
> > > cygrunsrv -E cron
> > > cygrunsrv -R cron
> > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty
> > > ntsec" -f "Cygwin
> > > cron"
> > > cygrunsrv -S cron
> > >
> > > but it still is not working

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019