Mail Archives: cygwin/2008/07/03/13:32:13
radski has brought this to us :
> Pierre,
>
> fantastic help, can't thank you enough - I didn't realize you could
> explicitly set HOME in the crontab - adding
>
> set HOME=/home/xuser
>
> worked a treat.
>
> For future reference the error is below, hope it helps someone when they
> google this.
>
> The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be
> found. The local computer may not have the necessary registry information or
> message DLL files to display messages from a remote computer. You may be
> able to use the /AUXSOURCE= flag to retrieve this description; see Help and
> Support for details. The following information is part of the event:
> /usr/sbin/cron: PID 966380: (CRON) error (can't cd to HOME).
>
>
> Pierre A. Humblet wrote:
>>
>> 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/
>>
>>
>>
Hello,
Hopefully I'm supposed to post at the bottom of the page. I tried
adding set HOME=/home/username and recieved a bad minute error? Is
there some trick to this..
Thanks!
--
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 -