Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-14-2006, 05:58 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
wget isn't what I want. But what is it that I should use?

I need to create a cronjob. This cronjob should load a webpage and capture the stream. Regardless of the results, that result should go to trash.

Right now I have in the cronjob command:
wget http://the.domain/my/path/to.file.php 2>/dev/null >/dev/null

This, however, creates a 0 size file on my server called to.file.php.

Of course, it is doing what I asked it to do. What should I do so that no file is created? Or rather, what command?


Old 01-14-2006, 07:11 PM   #2
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
wget -O /dev/null http://the.domain/my/path/to.file.php 2>/dev/null >/dev/null
Old 04-19-2006, 01:12 PM   #3
LQ Newbie
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wget help rino.caldelli Linux - Software 4 01-08-2006 03:47 PM
wget noir911 Linux - Newbie 8 07-30-2005 08:57 AM
wget noir911 Linux - General 1 06-12-2005 02:10 AM
using wget bucovaina78 Linux - Software 3 03-28-2005 07:02 AM
wget know how ksd Slackware 16 10-19-2003 07:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration