<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: How to fetch a url with curl or wget silently</title> <atom:link href="http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/feed/" rel="self" type="application/rss+xml" /><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/</link> <description>neat fun stuff</description> <lastBuildDate>Wed, 08 Feb 2012 21:30:01 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Hendrik</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-799014</link> <dc:creator>Hendrik</dc:creator> <pubDate>Wed, 01 Jun 2011 03:19:31 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-799014</guid> <description>Trying all hints on this site, but it still does not work. Got zero-byte files in /root, messages or a logfile, but I want a really silent wget-cronjob.For me it works as follow: wget -O /dev/null/ &quot;http://www.example.com&quot; &gt;/dev/null 2&gt;/dev/null</description> <content:encoded><![CDATA[<p>Trying all hints on this site, but it still does not work. Got zero-byte files in /root, messages or a logfile, but I want a really silent wget-cronjob.</p><p>For me it works as follow: wget -O /dev/null/ &#8220;http://www.example.com&#8221; &gt;/dev/null 2&gt;/dev/null</p> ]]></content:encoded> </item> <item><title>By: Carl Winbäck</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-742952</link> <dc:creator>Carl Winbäck</dc:creator> <pubDate>Fri, 18 Mar 2011 06:09:28 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-742952</guid> <description>For the record, curl --silent will be totally silent and not even show error messages. One needs to use --show-error for that.</description> <content:encoded><![CDATA[<p>For the record, curl &#8211;silent will be totally silent and not even show error messages. One needs to use &#8211;show-error for that.</p> ]]></content:encoded> </item> <item><title>By: Hossam</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-623446</link> <dc:creator>Hossam</dc:creator> <pubDate>Sun, 05 Sep 2010 01:33:43 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-623446</guid> <description>Best option is wget -O - -q http://example.com/urltofetch.html &gt;/dev/null 2&gt;&amp;1 in order NOT to download anything.@Jame: by default wget doesn&#039;t retry at all. If you used the -t switch without a number it will default to 20 retries and if you use it with 0 it will retry to an infinite number.</description> <content:encoded><![CDATA[<p>Best option is wget -O &#8211; -q <a href="http://example.com/urltofetch.html" rel="nofollow">http://example.com/urltofetch.html</a> &gt;/dev/null 2&gt;&amp;1 in order NOT to download anything.</p><p>@Jame: by default wget doesn&#8217;t retry at all. If you used the -t switch without a number it will default to 20 retries and if you use it with 0 it will retry to an infinite number.</p> ]]></content:encoded> </item> <item><title>By: meilione</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-593577</link> <dc:creator>meilione</dc:creator> <pubDate>Mon, 12 Jul 2010 18:44:54 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-593577</guid> <description>using &gt;/dev/null 2&gt;&amp;1 works a treat, thanks</description> <content:encoded><![CDATA[<p>using &gt;/dev/null 2&gt;&amp;1 works a treat, thanks</p> ]]></content:encoded> </item> <item><title>By: Timmeh</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-533190</link> <dc:creator>Timmeh</dc:creator> <pubDate>Thu, 22 Apr 2010 01:31:31 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-533190</guid> <description>I tried wget --debug with --tries=1 and wget appeared to only try once and then give up so as far as I can see, tries=1 means just that</description> <content:encoded><![CDATA[<p>I tried wget &#8211;debug with &#8211;tries=1 and wget appeared to only try once and then give up so as far as I can see, tries=1 means just that</p> ]]></content:encoded> </item> <item><title>By: Jame</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-460687</link> <dc:creator>Jame</dc:creator> <pubDate>Sun, 31 Jan 2010 07:44:05 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-460687</guid> <description>Hi , I have a problem with wget command. I want to get the file just only 1 time but the command can &#039;t do that.wget  --tries=1 http://xxx.com It &#039;s mean retry for 1 timewget  --tries=0 http://xxx.com It &#039;s mean retry indefinite timesCould you tell me how can I use wget command without retry?Thanks</description> <content:encoded><![CDATA[<p>Hi , I have a problem with wget command. I want to get the file just only 1 time but the command can &#8216;t do that.</p><p>wget  &#8211;tries=1 <a href="http://xxx.com" rel="nofollow">http://xxx.com</a><br /> It &#8216;s mean retry for 1 time</p><p>wget  &#8211;tries=0 <a href="http://xxx.com" rel="nofollow">http://xxx.com</a><br /> It &#8216;s mean retry indefinite times</p><p>Could you tell me how can I use wget command without retry?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: name</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-444755</link> <dc:creator>name</dc:creator> <pubDate>Sun, 27 Dec 2009 17:56:37 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-444755</guid> <description>--output-document=/dev/null</description> <content:encoded><![CDATA[<p>&#8211;output-document=/dev/null</p> ]]></content:encoded> </item> <item><title>By: sohbet</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-436657</link> <dc:creator>sohbet</dc:creator> <pubDate>Fri, 11 Dec 2009 14:56:18 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-436657</guid> <description>thnxxx</description> <content:encoded><![CDATA[<p>thnxxx</p> ]]></content:encoded> </item> <item><title>By: Robert</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-398567</link> <dc:creator>Robert</dc:creator> <pubDate>Thu, 01 Oct 2009 07:38:33 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-398567</guid> <description>@DavidTo get into a .htpasswd protected folder, use: --http-user=xxxxx --http-passwd=xxxxxCheers, Robert</description> <content:encoded><![CDATA[<p>@David</p><p>To get into a .htpasswd protected folder, use:<br /> &#8211;http-user=xxxxx &#8211;http-passwd=xxxxx</p><p>Cheers,<br /> Robert</p> ]]></content:encoded> </item> <item><title>By: Aneem</title><link>http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-375463</link> <dc:creator>Aneem</dc:creator> <pubDate>Thu, 13 Aug 2009 15:30:21 +0000</pubDate> <guid isPermaLink="false">http://www.mattcutts.com/blog/how-to-fetch-a-url-with-curl-or-wget-silently/#comment-375463</guid> <description>How to fetch a url and save it in another folder rather than existing/root folder?</description> <content:encoded><![CDATA[<p>How to fetch a url and save it in another folder rather than existing/root folder?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 4/11 queries in 0.005 seconds using disk

Served from: www.mattcutts.com @ 2012-02-09 06:20:06 -->
