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 Date: Fri, 7 Feb 2003 10:53:32 +0100 From: Corinna Vinschen 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/