<?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: Linux Crontab: 15 Awesome Cron Job Examples</title>
	<atom:link href="http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:52:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jamie</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-174343</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Sat, 07 Jan 2012 13:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-174343</guid>
		<description>Thanks for the tip Leslie. I ended up installing fcron, which when given two criteria, takes the AND of them as you might expect.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Leslie. I ended up installing fcron, which when given two criteria, takes the AND of them as you might expect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leslie Satenstein</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-173855</link>
		<dc:creator>Leslie Satenstein</dc:creator>
		<pubDate>Fri, 06 Jan 2012 14:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-173855</guid>
		<description>Jamie,  You are right, it is an or situation.  However, you may use a bash shell command with date to determine if the day is a Friday,  Set up the crontab entry to execute every 25th of the month, and in the bash shell test for Friday.  
date %a  gives 3 letter day of week,  date %u tells you the day number of the week.
I would use the day number with an if, or if you want different actions based on the day of the week, I would use date %u with the day number as an entry to a switch statement.</description>
		<content:encoded><![CDATA[<p>Jamie,  You are right, it is an or situation.  However, you may use a bash shell command with date to determine if the day is a Friday,  Set up the crontab entry to execute every 25th of the month, and in the bash shell test for Friday.<br />
date %a  gives 3 letter day of week,  date %u tells you the day number of the week.<br />
I would use the day number with an if, or if you want different actions based on the day of the week, I would use date %u with the day number as an entry to a switch statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-173246</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 05 Jan 2012 10:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-173246</guid>
		<description>Great article - I&#039;ve come back to it a few times since you published it.

I&#039;m trying to schedule a cron job to run when it is a particular day of the week AND a particular day of the month. (e.g. every Friday 25th).

If I specify both the day of week and date of month in crontab then it seems to take the OR of these two criteria, rather than the AND. (so would run every friday, and every 25th)

Is there another way I can do this? It seems wrong that it would OR the commands rather than AND them - if I wanted to OR them I could just add them as two separate lines in crontab.

Grateful for any tips.</description>
		<content:encoded><![CDATA[<p>Great article &#8211; I&#8217;ve come back to it a few times since you published it.</p>
<p>I&#8217;m trying to schedule a cron job to run when it is a particular day of the week AND a particular day of the month. (e.g. every Friday 25th).</p>
<p>If I specify both the day of week and date of month in crontab then it seems to take the OR of these two criteria, rather than the AND. (so would run every friday, and every 25th)</p>
<p>Is there another way I can do this? It seems wrong that it would OR the commands rather than AND them &#8211; if I wanted to OR them I could just add them as two separate lines in crontab.</p>
<p>Grateful for any tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soni Peterson</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-160136</link>
		<dc:creator>Soni Peterson</dc:creator>
		<pubDate>Fri, 23 Dec 2011 03:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-160136</guid>
		<description>There were few cron jobs that were rnning on my machine and i was cheking them by using 
crontab -l
command and was getting no cron job mesage
this articles help me and give me understanding of cron jobs and also I have ffind them
Thanx very much</description>
		<content:encoded><![CDATA[<p>There were few cron jobs that were rnning on my machine and i was cheking them by using<br />
crontab -l<br />
command and was getting no cron job mesage<br />
this articles help me and give me understanding of cron jobs and also I have ffind them<br />
Thanx very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 6 Linux Crontab Command Examples</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-155088</link>
		<dc:creator>6 Linux Crontab Command Examples</dc:creator>
		<pubDate>Wed, 14 Dec 2011 06:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-155088</guid>
		<description>[...] 15 crontab examples explains practical ways of using the cron job [...]</description>
		<content:encoded><![CDATA[<p>[...] 15 crontab examples explains practical ways of using the cron job [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: umesh</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-154008</link>
		<dc:creator>umesh</dc:creator>
		<pubDate>Mon, 12 Dec 2011 08:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-154008</guid>
		<description>Thank you so much..</description>
		<content:encoded><![CDATA[<p>Thank you so much..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Setup and Configure YPServ Linux NIS Server and Client</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-147819</link>
		<dc:creator>How to Setup and Configure YPServ Linux NIS Server and Client</dc:creator>
		<pubDate>Wed, 30 Nov 2011 06:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-147819</guid>
		<description>[...] recommend that you add this to the root cron job on your NIS server to execute this every 15 minutes. This way, you don&#8217;t need to worry about [...]</description>
		<content:encoded><![CDATA[<p>[...] recommend that you add this to the root cron job on your NIS server to execute this every 15 minutes. This way, you don&#8217;t need to worry about [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-147313</link>
		<dc:creator>Arul</dc:creator>
		<pubDate>Tue, 29 Nov 2011 07:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-147313</guid>
		<description>We need to schedule our script with crontab. Our script contains our own env file to initialize some env variables. We got error while running the crontab. Error is &quot;Variable not initialised from .env file&quot;. Could u please let me know how to use the env variables in the crontab?

Thanks in advance for your assistance...</description>
		<content:encoded><![CDATA[<p>We need to schedule our script with crontab. Our script contains our own env file to initialize some env variables. We got error while running the crontab. Error is &#8220;Variable not initialised from .env file&#8221;. Could u please let me know how to use the env variables in the crontab?</p>
<p>Thanks in advance for your assistance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuldeep</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-137708</link>
		<dc:creator>kuldeep</dc:creator>
		<pubDate>Tue, 08 Nov 2011 09:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-137708</guid>
		<description>really a gud job .. every point understandable....</description>
		<content:encoded><![CDATA[<p>really a gud job .. every point understandable&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Singh</title>
		<link>http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/comment-page-1/#comment-135809</link>
		<dc:creator>Amit Singh</dc:creator>
		<pubDate>Sat, 29 Oct 2011 12:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=534#comment-135809</guid>
		<description>liked the article.

Mail example didnt work. It works fine if i make it MAILTO instead of MAIL as mentioned in the example.</description>
		<content:encoded><![CDATA[<p>liked the article.</p>
<p>Mail example didnt work. It works fine if i make it MAILTO instead of MAIL as mentioned in the example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 12:29:22 -->
