This is the mail archive of the
mailing list for the Cygwin project.
Re: cron and copying files across drives: how?
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 04 Oct 2004 12:23:29 -0700
- Subject: Re: cron and copying files across drives: how?
- Organization: My own little world...
- References: <OFB2F7DFED.1E1783F5-ON88256F23.006781D1@mailconnect.com>
- Reply-to: cygwin at cygwin dot com
> 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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html