<?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: Crontab &#8211; Quick Reference</title>
	<atom:link href="http://adminschoice.com/crontab-quick-reference/feed" rel="self" type="application/rss+xml" />
	<link>http://adminschoice.com/crontab-quick-reference</link>
	<description>Unix adminstrators documents , tip and more</description>
	<lastBuildDate>Thu, 11 Mar 2010 14:45:43 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ian carter</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-646</link>
		<dc:creator>ian carter</dc:creator>
		<pubDate>Thu, 11 Mar 2010 14:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-646</guid>
		<description>just being introduced to unix and the crontab utility. cool stuff. my question is this,how do i exit a crontab file after i have made a new one and save everything i have just done? will ^c do it? 
pls help

Edit by admin 
If you have set editor as vi, wq! Should save it.
 </description>
		<content:encoded><![CDATA[<p>just being introduced to unix and the crontab utility. cool stuff. my question is this,how do i exit a crontab file after i have made a new one and save everything i have just done? will ^c do it?<br />
pls help</p>
<p>Edit by admin<br />
If you have set editor as vi, wq! Should save it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Horder</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-605</link>
		<dc:creator>Phil Horder</dc:creator>
		<pubDate>Tue, 23 Feb 2010 09:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-605</guid>
		<description>The day of month &amp; day of week are ORed, which makes cron less flexible than it could be.  I need to run a job on the 3rd Wednesday of every month, but cron won&#039;t let me do this.  I figured it out in the end;  run every day in the 3rd week, but then check that the day is a Wednesday.  e.g.

00 02 15-21 * * if [ `date +\%u` -eq 3 ] ; then run_myjob; fi

Note that the \ is used to escape the %, otherwise cron treats it as a newline.</description>
		<content:encoded><![CDATA[<p>The day of month &amp; day of week are ORed, which makes cron less flexible than it could be.  I need to run a job on the 3rd Wednesday of every month, but cron won&#8217;t let me do this.  I figured it out in the end;  run every day in the 3rd week, but then check that the day is a Wednesday.  e.g.</p>
<p>00 02 15-21 * * if [ `date +\%u` -eq 3 ] ; then run_myjob; fi</p>
<p>Note that the \ is used to escape the %, otherwise cron treats it as a newline.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck WWW</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-462</link>
		<dc:creator>Chuck WWW</dc:creator>
		<pubDate>Fri, 22 Jan 2010 21:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-462</guid>
		<description>Hey Farook,

I had the same problem I think!

Not sure if you found a solution, but I&#039;m guessing *maybe* you are using a wget command in your crontab?  If that&#039;s the case, use wget -q in the command line.  The &quot;-q&quot; flag means quiet, and it won&#039;t output anything like a pesky php.1 file.

Regards,

Chuck</description>
		<content:encoded><![CDATA[<p>Hey Farook,</p>
<p>I had the same problem I think!</p>
<p>Not sure if you found a solution, but I&#8217;m guessing *maybe* you are using a wget command in your crontab?  If that&#8217;s the case, use wget -q in the command line.  The &#8220;-q&#8221; flag means quiet, and it won&#8217;t output anything like a pesky php.1 file.</p>
<p>Regards,</p>
<p>Chuck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-186</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-186</guid>
		<description>A Note of caution for anybody setting up a crontab on a system that is NOT running 24/7:

If there is an operation that is done once per day, make sure it is done when the system is expected to be on or bad things can occur.  Years ago I worked on a SunOS system which was normally on only from 7am to 4pm (and properly shutdown at the end of the day) and rarely on outside that time period and the log file backup took place at 4AM on Sunday only.  You can guess the result.</description>
		<content:encoded><![CDATA[<p>A Note of caution for anybody setting up a crontab on a system that is NOT running 24/7:</p>
<p>If there is an operation that is done once per day, make sure it is done when the system is expected to be on or bad things can occur.  Years ago I worked on a SunOS system which was normally on only from 7am to 4pm (and properly shutdown at the end of the day) and rarely on outside that time period and the log file backup took place at 4AM on Sunday only.  You can guess the result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farook</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-50</link>
		<dc:creator>Farook</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-50</guid>
		<description>My Cron Script is working fine. And i used &gt;/dev/null 2&gt;&amp;1 to Stop sending Emails. But each time a file is created in the same name of PHP file with trailing numbers like phpfile.php.1, phpfle.php.2, phpfile.php.3....
Is there any script to stop that?</description>
		<content:encoded><![CDATA[<p>My Cron Script is working fine. And i used &gt;/dev/null 2&gt;&amp;1 to Stop sending Emails. But each time a file is created in the same name of PHP file with trailing numbers like phpfile.php.1, phpfle.php.2, phpfile.php.3&#8230;.<br />
Is there any script to stop that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boyd</title>
		<link>http://adminschoice.com/crontab-quick-reference/comment-page-1#comment-35</link>
		<dc:creator>Boyd</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://adminschoice.com/wp28/?p=43#comment-35</guid>
		<description>On the Mac OS X, the environmental variable TMP needs to be set to /private/tmp (I also set if for TEMP as well) to make crontab -e work.  Apparently crontab -e needs to know where tmp is and not through the symbolic link /tmp.  Otherwise, I would get an error message &quot;crontab needs to be edited in place&quot;.

Boyd</description>
		<content:encoded><![CDATA[<p>On the Mac OS X, the environmental variable TMP needs to be set to /private/tmp (I also set if for TEMP as well) to make crontab -e work.  Apparently crontab -e needs to know where tmp is and not through the symbolic link /tmp.  Otherwise, I would get an error message &#8220;crontab needs to be edited in place&#8221;.</p>
<p>Boyd</p>
]]></content:encoded>
	</item>
</channel>
</rss>
