Crontab places wget results in home directory

Posted on 2009-04-24
Last Modified: 2013-12-12
I don't want the html output by the webpage accessed by crontab to go anywhere.

I tried to send it to /dev/null/ but it outputs errors to /home/
*/6 * * * * wget > /dev/null 2>&1

Open in new window

Question by:hankknight
    LVL 68

    Accepted Solution

    did you try the -q (or --quiet) option?
    LVL 12

    Assisted Solution

    Use "-O /dev/null" to redirect the actual pages retrieved to the bit bucket. What you've done is redirect the output from the wget command (all the progress information) to the null device.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now