<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Monetizers &#187; Crontab</title>
	<atom:link href="http://www.monetizers.com/tag/crontab/feed" rel="self" type="application/rss+xml" />
	<link>http://www.monetizers.com</link>
	<description>A Search Engine Optimization Specialist helping you monetize the web!</description>
	<lastBuildDate>Tue, 30 Aug 2011 03:31:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>1and1 Cron Job &#8211; Crontab Cronjob Examples</title>
		<link>http://www.monetizers.com/cronjob.php</link>
		<comments>http://www.monetizers.com/cronjob.php#comments</comments>
		<pubDate>Tue, 08 Jan 2008 19:17:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Michigan SEO]]></category>
		<category><![CDATA[1and1 Cron Job]]></category>
		<category><![CDATA[Cronjob Examples]]></category>
		<category><![CDATA[Crontab]]></category>

		<guid isPermaLink="false">http://www.monetizers.com/cronjob.php</guid>
		<description><![CDATA[Cron jobs help you automate procedures such as backups, executing a file or sending an email. This page is a quick reference for creating a cron entry that defines when a specific application or script should execute. Type &#8220;crontab -e&#8221; to edit your cron file. If you just want a listing, use &#8220;crontab -l&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<p>Cron jobs help you automate procedures such as backups, executing a file or sending an email. This page is a quick reference for creating a cron entry that defines when a specific application or script should execute.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6093655740602248";
/* 336x280, created 5/2/09 */
google_ad_slot = "5447181753";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>
<p>Type &#8220;crontab -e&#8221; to edit your cron file. If you just want a listing, use &#8220;crontab -l&#8221; and if you want to delete a cron job, simply type &#8220;crontab -r&#8221;.</p>
<p>A line within a cron file will look like this:<br />
1 2 3 4 5    /etc/myScript arguments</p>
<p>There are five numbers at the start of each line and represent the following:<br />
1: minutes (0-59)<br />
2: Hours (0-23)<br />
3: Day     (0-31)<br />
4: Month   (0-12 or January, February, &#8230; 0 and 12=December)<br />
5: Day of the week(0-7 or Monday, Tuesday, Wednesday, &#8230; 0 and 7=Sunday)</p>
<p>You can also customize the commands even further, sor example:<br />
*:         applies everytime</p>
<p>1-4:       start if 1,2,3 or 4 matche<br />
1-4/2      step-by-step, here: 1 and 3<br />
1,5,6:     enumeration<br />
*/3:       every third<br />
1-4,10-15: enummeration and range combined</p>
<p>To define the SHELL you would like to have execute and who you want to email the results to, use these commands:  <br />
SHELL=/bin/bash<br />
MAILTO=myname@myhost</p>
<h2>Cron Job &#8211; More Examples</h2>
<p># every day at 0:05<br />
5 0 * * *       $HOME/bin/daily.job &gt;&gt; $HOME/tmp/out 2&gt;&amp;1</p>
<p># every first day of the month at 14:15<br />
15 14 1 * *     $HOME/bin/monthly</p>
<p># on weekdays at 22:00<br />
0 22 * * 1-5   mail -s &#8220;Adsense UP!&#8221; ken%Ken,%%Go buy something!%</p>
<p># every day 23 minutes after every even hour (0:23, 2:23, &#8230;)<br />
23 0-23/2 * * * $HOME/report.sh</p>
<p># Sundays at 4:05<br />
5 4 * * sun     $HOME/backup1.sh full</p>
<p># Every other day at 1:05am</p>
<p>5 1 */2 * * wget -q http://www.monetizers.com/adsense_clicklogger.php?R=</p>
]]></content:encoded>
			<wfw:commentRss>http://www.monetizers.com/cronjob.php/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

