This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron does not do anything


Ting Zhou wrote:

The first problem, yes, I was a bit impatient and should've waited one
more minute. It seems crontab change does take more than one minute to be
effective. Once I changed it to "* * * * *", I saw an error message in
/var/log/messages saying "(CRON) error (can't cd to HOME)", which is the
second problem. For the record, my cygwin auto-generated /etc/passwd
shows my home dir to be "/cygdrive/h", which is an NT mounted share - not
sure why is it set to that and why cron couldn't cd to it.

The answer to the former is that it's likely your Windows environment defines HOME already as 'h:'. See the FAQ link below for more info:

<http://cygwin.com/faq/faq-nochunks.html#faq.setup.home>

The answer to the latter can be found at the link below:

<http://cygwin.com/faq/faq-nochunks.html#faq.using.shares>

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]