LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2011, 04:23 AM   #1
toniotosi
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
crontab job disable


Hi all,
is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?
I could also accept to change the entry itself. Now it's:
0 0 * * 0-6 /home/me/cron/script.csh

Thanks.
 
Old 06-23-2011, 04:36 AM   #2
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
Comment it out with a # at the start of the line and save it.
 
Old 06-23-2011, 04:37 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
just comment it out, put a # at the start
 
Old 06-23-2011, 06:08 AM   #4
toniotosi
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Thank you very much!
 
Old 06-23-2011, 06:12 AM   #5
Shahnawaz Uqaili
Member
 
Registered: May 2011
Location: Karachi, Sindh Pakistan
Distribution: RHEL, CentOS, Debian/Ubuntu, Microsoft Windows
Posts: 46

Rep: Reputation: Disabled
Hello toniotosi

I guess your problem has been solved by two replies. Please mark this thread as SOLVED.


cheers

Shahnawaz Uqaili
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab job not executing.... mia_tech Linux - Newbie 6 08-31-2009 03:42 PM
the crontab job is not run ust Linux - Software 1 03-24-2008 08:03 PM
Run crontab job sunhui Linux - Software 2 05-16-2007 09:35 PM
crontab job Thulemanden Linux - Software 2 07-09-2006 07:57 AM
crontab job entry notolerance Linux - Software 2 02-20-2005 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration