Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-13-2011, 12:14 PM   #1
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
wget null output help needed.

i did this b4 but i y'day ideleted it from cron coz server was overloaded.,

now i cant recall the command/.,

all i want is no output file created eveytime cron is run

i tried

wget http://www.domain.com/job.php > /dev/null 2>&1

creates files at server root
----------------------------------------------------------------------
wget -q http://www.domain.com/job.php > /dev/null 2>&1

creates files at server root

help needed ., thanks

Last edited by cooldude7; 11-13-2011 at 12:17 PM..
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 12:18 PM   #2
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
wget -o /dev/null http://www.domain.com/job.php

creates files.,
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 12:23 PM   #3
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
wget -nc http://www.domains.com/job.php

this looks like it create only one file and then supress the newer files.,
so it will help, will c.,
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 12:24 PM   #4
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
thanks for your time .,

have a fucking gr8 day ahead.,

/thread
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 12:28 PM   #5
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
Quote:
Originally Posted by cooldude7 View Post
wget -nc http://www.domains.com/job.php

this looks like it create only one file and then supress the newer files.,
so it will help, will c.,
u bastard wget., this one doesnt even calls the script.,
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 12:31 PM   #6
garce
Confirmed User
 
garce's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
You can't just end a thread because you typed "/thread" in the thread that you want to end.

I'm posting in this thread to keep the thread alive until this thread degenerates into yet another thread that feaures the thread-killing bickerings of DVTimes, DamianJ, and ArseWithClass.

Now those are some good threads.
garce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 03:06 PM   #7
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
wget -q -O /dev/null

I don't THINK that prints anything on STDERR unless there's an error. If it does, then add >/dev/null 2>&1
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2011, 10:34 PM   #8
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
Quote:
Originally Posted by raymor View Post
wget -q -O /dev/null

I don't THINK that prints anything on STDERR unless there's an error. If it does, then add >/dev/null 2>&1
okie its working like charm for now., without creating additional files.,


wget -q -O /dev/null http://www.domain.com/job.php > /dev/null 2>&1

thanks mate.
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-14-2011, 01:59 AM   #9
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by cooldude7 View Post
okie its working like charm for now., without creating additional files.,


wget -q -O /dev/null http://www.domain.com/job.php > /dev/null 2>&1

thanks mate.
In that case I may start a new tradition.
That makes the second tech thread in row answered (correctly) while driving. :D
Maybe I'll start doing ALL tech threads at speed. ;)

Last edited by raymor; 11-14-2011 at 02:00 AM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.