RE: cron script can awk wget file but not head/cat it

2005-09-09 Thread Pagano, Tom - Portland, OR
This was exactly the problem. I'm sharing someone else's computer, so I didn't even realize those files were there (i.e. C:/bin/ is chock full of grep.exe, head.exe, sed.exe...). At the start of my script I defined my path and it worked no problem. Crisis averted, thank you! Tom - >Fro

RE: cron script can awk wget file but not head/cat it

2005-09-09 Thread Larry Hall
At 06:11 PM 9/9/2005, you wrote: >Thank you for the very prompt response. > >If I assume that it's the System that's running the script via the cron, >isn't System the owner of the file that results from wget? Or do wgetted >files belong to someone else? And do Awk and Cat require different >permi

RE: cron script can awk wget file but not head/cat it

2005-09-09 Thread Pagano, Tom - Portland, OR
o:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 2:23 PM To: Pagano, Tom - Portland, OR; cygwin@cygwin.com Subject: Re: cron script can awk wget file but not head/cat it > > And sntl_data_moved_then_headed.csv contains: Cannot open file > /home/tompagano/test/sntl_data_moved.csv &g

Re: cron script can awk wget file but not head/cat it

2005-09-09 Thread Brian Dessent
"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 PA

Re: cron script can awk wget file but not head/cat it

2005-09-09 Thread Eric Blake
> > And sntl_data_moved_then_headed.csv contains: Cannot open file > /home/tompagano/test/sntl_data_moved.csv > This is a simplification of a much broader script I've been trying to run > that > was failing, but I've been able to isolate it down to this specific problem. > I'm > quite baffle

cron script can awk wget file but not head/cat it

2005-09-09 Thread Pagano, Tom - Portland, OR
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. When I run the following script from the command line: $ cat testscript.scr mydir="/home/tompagano/test" cd