Beware of costly typos “crontab -r”

Posted on August 14, 2007. Filed under: Uncategorized |


Today, i made a costly mistake in my Production definitely worth sharing !!!

On our HP-UX machine, as ‘oracle’ user , instead of issuing ‘crontab -e’,

i mistyped as ‘crontab -r’ and guess what, ALL MY CRON JOBS VANISHED !!!


/home/oracle> crontab -r


/home/oracle> crontab -l



LUCKily i had saved the “crontab -l” listing sometime. So, i edited again

and scheduled everything.  So, beware of such costly typos and do remember

this generally happens when you are in Prod box !!!

Hope this tip was helpful.


Arun (OraclePitStop)


Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: