Welcome to WebmasterWorld Guest from 54.235.25.206

Forum Moderators: bakedjake

Message Too Old, No Replies

WGET, -q syntax problem

can't stop wget generated empty files

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

Senior Member from US 

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2003
posts: 4393
votes: 2


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

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

New User

5+ Year Member

joined:Nov 19, 2008
posts:1
votes: 0


Write full path to wget, like /usr/bin/wget
8:55 pm on Nov 19, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Feb 16, 2007
posts:846
votes: 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.
11:23 pm on Nov 19, 2008 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2003
posts: 4393
votes: 2


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members