GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wget null output help needed. (https://gfy.com/showthread.php?t=1045622)

cooldude7 11-13-2011 12:14 PM

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

cooldude7 11-13-2011 12:18 PM

wget -o /dev/null http://www.domain.com/job.php

creates files.,

cooldude7 11-13-2011 12:23 PM

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 11-13-2011 12:24 PM

thanks for your time .,

have a fucking gr8 day ahead.,

/thread

cooldude7 11-13-2011 12:28 PM

Quote:

Originally Posted by cooldude7 (Post 18556855)
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.,

garce 11-13-2011 12:31 PM

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.

raymor 11-13-2011 03:06 PM

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

cooldude7 11-13-2011 10:34 PM

Quote:

Originally Posted by raymor (Post 18557139)
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.

raymor 11-14-2011 01:59 AM

Quote:

Originally Posted by cooldude7 (Post 18557649)
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. ;)


All times are GMT -7. The time now is 11:17 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123