<?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 -r</title>
	<atom:link href="http://code.mincus.com/5/crontab-r/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.mincus.com/5/crontab-r/</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 13:46:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: contradev</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-160526</link>
		<dc:creator>contradev</dc:creator>
		<pubDate>Thu, 20 May 2010 11:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-160526</guid>
		<description>Add this to your profile / aliases:


crontab() { if [[ $@ == &quot;-r&quot; ]]; then command crontab -e; else command crontab &quot;$@&quot;; fi; }


or even

alias  crontab=&#039;crontab -i&#039;

which will prompt you before removal.</description>
		<content:encoded><![CDATA[<p>Add this to your profile / aliases:</p>
<p>crontab() { if [[ $@ == "-r" ]]; then command crontab -e; else command crontab &#8220;$@&#8221;; fi; }</p>
<p>or even</p>
<p>alias  crontab=&#8217;crontab -i&#8217;</p>
<p>which will prompt you before removal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-155010</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 10 Mar 2010 10:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-155010</guid>
		<description>This is annoying isn&#039;t it!
However, isn&#039;t it easier add an alias to bashrc of
 alias crontab=&#039;crontab -i&#039;
and then crontab will ask for confirmation before a -r</description>
		<content:encoded><![CDATA[<p>This is annoying isn&#8217;t it!<br />
However, isn&#8217;t it easier add an alias to bashrc of<br />
 alias crontab=&#8217;crontab -i&#8217;<br />
and then crontab will ask for confirmation before a -r</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cunni</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-147073</link>
		<dc:creator>cunni</dc:creator>
		<pubDate>Wed, 02 Dec 2009 18:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-147073</guid>
		<description>Amen to this script! I&#039;ve done this to the point of pulling out my hair after deleting the rcontab a good 100 times previously to the latest one.

Cheers for the share!</description>
		<content:encoded><![CDATA[<p>Amen to this script! I&#8217;ve done this to the point of pulling out my hair after deleting the rcontab a good 100 times previously to the latest one.</p>
<p>Cheers for the share!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hanov3r</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-21812</link>
		<dc:creator>hanov3r</dc:creator>
		<pubDate>Thu, 14 Jun 2007 14:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-21812</guid>
		<description>I just &#039;-r&#039;ed when I should have &#039;-e&#039;ed this morning. Your script looks useful, but why not just alias &#039;crontab&#039; to &#039;crontab -i&#039;? &#039;man crontab&#039; tells me that that forces an interactive &#039;yes/no&#039; on crontab removal.</description>
		<content:encoded><![CDATA[<p>I just &#8216;-r&#8217;ed when I should have &#8216;-e&#8217;ed this morning. Your script looks useful, but why not just alias &#8216;crontab&#8217; to &#8216;crontab -i&#8217;? &#8216;man crontab&#8217; tells me that that forces an interactive &#8216;yes/no&#8217; on crontab removal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimbo</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-12099</link>
		<dc:creator>Jimbo</dc:creator>
		<pubDate>Tue, 06 Mar 2007 21:11:24 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-12099</guid>
		<description>I work in an environment where essentially the entire company has access to the crontabs (very bad idea!) and yes we&#039;ve had folks accidentally issue crontab -r, which of course really hoses us until we can pull the crontab from a backup. 

Just thought I&#039;d share the pain. :)

 Cool script btw, although our admins would never install it because they love being reactive to problems instead of proactive :))</description>
		<content:encoded><![CDATA[<p>I work in an environment where essentially the entire company has access to the crontabs (very bad idea!) and yes we&#8217;ve had folks accidentally issue crontab -r, which of course really hoses us until we can pull the crontab from a backup. </p>
<p>Just thought I&#8217;d share the pain. <img src='http://code.mincus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p> Cool script btw, although our admins would never install it because they love being reactive to problems instead of proactive <img src='http://code.mincus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-1945</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 26 Sep 2006 20:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-1945</guid>
		<description>Hi. I&#039;ve just made crontab -r :(( damn

and google found this page, thx for script</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;ve just made crontab -r <img src='http://code.mincus.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ( damn</p>
<p>and google found this page, thx for script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolfs</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-1518</link>
		<dc:creator>Rolfs</dc:creator>
		<pubDate>Tue, 22 Aug 2006 02:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-1518</guid>
		<description>I&#039;m used to crontab -l &gt; cron_or_whateverfilename
then edit the file;
then crontab cron .. 

it&#039;s just what you&#039;re used to.. And ofcause, the cron file in home-dir is often left behind, not removed giving a sort of backup.. without the need of a perl script.. but nice work :-) Or as wordpress sais it: &quot;Code is poetry&quot;.

Btw, some gehsi syntax hilighting would be nice.</description>
		<content:encoded><![CDATA[<p>I&#8217;m used to crontab -l &gt; cron_or_whateverfilename<br />
then edit the file;<br />
then crontab cron .. </p>
<p>it&#8217;s just what you&#8217;re used to.. And ofcause, the cron file in home-dir is often left behind, not removed giving a sort of backup.. without the need of a perl script.. but nice work <img src='http://code.mincus.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Or as wordpress sais it: &#8220;Code is poetry&#8221;.</p>
<p>Btw, some gehsi syntax hilighting would be nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-101</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 06 Aug 2005 11:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-101</guid>
		<description>I had a customer who did this twice in successive days and then wondered why his backup wouldn&#039;t work. After restoring from a (now old) backup for the second time I made sure there was a copy of his crontab stored on disk. Maybe an entry of crontab -l &gt;crontab.txt should be added to the crontab?</description>
		<content:encoded><![CDATA[<p>I had a customer who did this twice in successive days and then wondered why his backup wouldn&#8217;t work. After restoring from a (now old) backup for the second time I made sure there was a copy of his crontab stored on disk. Maybe an entry of crontab -l &gt;crontab.txt should be added to the crontab?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shftleft</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-38</link>
		<dc:creator>shftleft</dc:creator>
		<pubDate>Wed, 11 May 2005 18:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-38</guid>
		<description>lol - i think he made this just for me :-p</description>
		<content:encoded><![CDATA[<p>lol &#8211; i think he made this just for me :-p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shiner_Man</title>
		<link>http://code.mincus.com/5/crontab-r/comment-page-1/#comment-37</link>
		<dc:creator>Shiner_Man</dc:creator>
		<pubDate>Wed, 11 May 2005 13:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://code.mincus.com/?p=5#comment-37</guid>
		<description>You silly man deleting your crontab file.</description>
		<content:encoded><![CDATA[<p>You silly man deleting your crontab file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
