This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: permission problem with crons
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: aa ww <edwardlarie at yahoo dot com>, cygwin at cygwin dot com
- Date: Mon, 07 Jan 2002 10:07:45 -0500
- Subject: Re: permission problem with crons
At 09:00 PM 1/6/2002, aa ww wrote:
>Hi Cygwin,
>
>I tried to run a cron job as follows:
>
>$ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
>CYGWIN="tty ntsec"
>$ cygrunsrv -S cron
>
>The crons starts, I checked this by ps -ef. But, when
>i tried to add a cronjob by
>crontab -e
>and type
>40 10 * * * /home/admin/cron.sh
>
>then it gave me this errors:
>crontab:installin new crontab
>crontab:error renaming tabs/tmp.000864 to tabs/admin
>rename: Permission denied
>
>I can not delete the error files in the var/cron/tabs
>foler too even I logged on as admin. Any help ??
Are you sure these files aren't open exclusively by some process?
Windows opens files exclusively by default and one cannot rename or
remove files opened in this way.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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/