| delorie.com/archives/browse.cgi | search |
| 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: | <4321F4D2.EFDD9A23@dessent.net> |
| Date: | Fri, 09 Sep 2005 13:47:14 -0700 |
| From: | Brian Dessent <brian AT dessent DOT net> |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cron script can awk wget file but not head/cat it |
| References: | <3C46C4ED0F9B944690547357EB7F1C0F04A480 AT COFORTCOL2S304 DOT agwest DOT one DOT usda DOT gov> |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
"Pagano, Tom - Portland, OR" wrote: > I have a problem where I get one behavior when I run a file from a cron and another when I run it from the command line. Attached is my cygcheck.out file. From your cygcheck, you have some set of unix-like utilities in c:\bin. Check the setting of the PATH from within the cron job, as I would be willing to bet that your Cygwin bin directory is not in the path and that you're actually calling these non-Cygwin versions of those commands that have no idea what /home/tompagano is. The default install of Cygwin only modifies the PATH through the cygwin.bat file, not via the system-wide setting of PATH in the registry, so by default Cygwin is only in your path when you click on cygwin.bat to launch a bash prompt. 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |