delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/07/04:53:45

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
Date: Fri, 7 Feb 2003 10:53:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: crontab -u
Message-ID: <20030207095332.GC27349@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F3ACC29F37410A41AD2B4F090F004E4261EE63 AT ccdse01 DOT CCD DOT MSLROOT DOT NET>
Mime-Version: 1.0
In-Reply-To: <F3ACC29F37410A41AD2B4F090F004E4261EE63@ccdse01.CCD.MSLROOT.NET>
User-Agent: Mutt/1.4i

On Thu, Feb 06, 2003 at 03:14:14PM -0500, House, Mark wrote:
>  When I use cygwin I am automatically logged in as Administrator in =
> bash. At the command line I have used  "crontab start_extract" to set =
> the crontab file and I have used "crontab stop_extract" to set the =
> crontab file. I confirm that both of those commands are valid and the =
> system behaves properly when each of those files is loaded into crontab.
> 
>  When I put my code together, I initially used "crontab stop_extract" to =
> alter the crontab in case of an error. However, crontab runs as SYSTEM. =
> It would not undo the crontab file for the Administrator, so, I tired to =
> use the -u function. When I use the -u parameter, I get a message saying =
> "must be privileged to use -u".
> 
>  Does anyone know how to get -u to work? Or does anyone have a =

The -u option only works for SYSTEM so far and as such is somewhat useless
on Cygwin currently.  However, I don't quite get your strategy here.  If
you'd running the cron job under the Administrator account, crontab would
behave properly when trying to replace the Administrator's crontab file.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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