homepage Welcome to WebmasterWorld Guest from 54.198.42.213
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
WGET, -q syntax problem
can't stop wget generated empty files
henry0




msg:3787857
 12:19 pm on Nov 17, 2008 (gmt 0)

I run a CRON and get the script location via
WGET, I understand the way WGET works and its files generation (one per cron call)
However I was under the impression that -q should stop those files creation.

Here is my cron line
1 */3 * * * wget -q "htpp:// etc......"

Am I doing it wrong?

My cron runs fine and my script is executed as supposed but the root gets loaded with those empty scripts

 

bounser




msg:3789927
 8:45 pm on Nov 19, 2008 (gmt 0)

Write full path to wget, like /usr/bin/wget

caribguy




msg:3789941
 8:55 pm on Nov 19, 2008 (gmt 0)

Use a trailing ampersand '&' to run wget as a background process. You can use -O to tell wget where to create its output file.

henry0




msg:3790037
 11:23 pm on Nov 19, 2008 (gmt 0)

bounser Welcome to WebmasterWorld!
Thanks all, that should do it
I'll post if a hit another snag

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved