delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/01/09:35:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 01 Jul 2008 09:33:23 -0400
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: CRON can't cd to HOME
To: "radski" <radomil AT hotmail DOT com>, <cygwin AT cygwin DOT com>
Message-id: <00e201c8db7f$09ff3970$2e00a8c0@wirelessworld.airvananet.com>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
References: <18214359 DOT post AT talk DOT nabble DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

HOME can be specified in the crontab, else it is taken from /etc/passwd

You may have access issues if HOME is on a network drive.
If so, consider creating a different HOME on a local disk, or running cron as yourself.

Pierre

----- Original Message ----- 
From: "radski" <radomil AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, July 01, 2008 8:58 AM
Subject: CRON can't cd to HOME


|
| Hello,
| I'm trying to CRON, but I'm receiving error in the windows log saying it
| "can't cd to HOME"; yet cron_diagnose.sh completes without any errors. There
| doesn't seem to be much reference to this error out there, I've tried moving
| home from outside of the cygwin directory to inside and changed permissions
| but that does not seem to help.
|
| Cron service runs as Local System and I'm not sure where it takes the home
| setting from ? changeing it in passwd file doesn't seem to make any
| difference.
| -- 
| View this message in context: 
http://www.nabble.com/CRON-can%27t-cd-to-HOME-tp18214359p18214359.html
| Sent from the Cygwin list mailing list archive at Nabble.com.
|
|
| --
| 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/
| 


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