delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/04/15:23:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <4161A331.131985C3@dessent.net>
Date: Mon, 04 Oct 2004 12:23:29 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cron and copying files across drives: how?
References: <OFB2F7DFED DOT 1E1783F5-ON88256F23 DOT 006781D1 AT mailconnect DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Eric_Zeller AT ffic DOT com wrote:

> I tried going into Services Manager and changing the login information for
> the cron service, but it wouldn't allow it to run (service ended
> unexpectedly error)
> I even added login as a service rights to myuser, but that didn't work.

Files that were previously owned by SYSTEM would have had to be chown'd
to your user account, or sufficient rights granted.  The log file, the
crontabs themselves, config files, directories, etc. -- basically
anything that crond needs to be able to read or write and was previously
owned by SYSTEM.  Once you did that it probably would have run fine.

> I discovered ps -afW works for displaying Windows processess (not just
> cygwin's) with useri'ds attached - cron shows up as either '0' or
> 'Everyone' depending on which box I'm using
> (haven't researched why 2 cygwin installations behave differentlly - don't
> consider it important in this case)

You probably need to run mkpasswd and mkgroup to generate or update the
/etc/passwd and /etc/group files.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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