Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 7 Feb 2003 10:53:32 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: crontab -u
Message-ID: <20030207095332.GC27349@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <F3ACC29F37410A41AD2B4F090F004E4261EE63@ccdse01.CCD.MSLROOT.NET>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@cygwin.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/

