This is the mail archive of the
mailing list for the Cygwin project.
Re: crontab -u
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html