system noredraw + wget command

Bill Campbell bill at celestial.com
Tue Jan 24 12:10:15 PST 2006


On Tue, Jan 24, 2006, Kenneth Brody wrote:
>Quoting Enrique Arredondo (Tue, 24 Jan 2006 11:35:32 -0800 (PST)):
>
>> I'm running this command so I can get information from remote Customers
>> but every time the report runs it gives me an error on the screen but
>> then it keeps doing it's job, what is that all about ?
>>
>> Then : aaa="umask 0;"
>> Then : aab="/usr2/tmp/gotit"
>> Then : system noredraw aaa<"wget -q -O"<aab<"http://bla..asp?serial=123"
>>
...
>> If I run this from the command line I don't get the error. Is it
>> filepro's permissions ? Should I just do a "chmod 777 .netrc" ?
>
>Remember, by default, SYSTEM commands are run as euid 'filepro'.  You
>can turn this behavior off, and run as the "real" uid, on most modern
>O/S'es by setting PFSYSEUID=OFF.

Adding 2>/dev/null to the wget command should get rid of the error messages
unless you're running the Microsoft Virus, Windows.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Mechanical Engineers build weapons.  Civil Engineers build targets.''


More information about the Filepro-list mailing list