LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-12-2002, 06:46 AM   #1
jeucken
Member
 
Registered: May 2002
Location: Alphen aan den Rijn, The Netherlands
Distribution: SuSE 10.1
Posts: 87

Rep: Reputation: 15
Disable cronjob


Hi, I'm running a SuSE 7.3 server.

Every week I get a notice that the server is going to run the cronjobs.

But I don't want to run any scheduled stuff. How do I disable this and how can I see what is scheduled?
 
Old 08-12-2002, 06:59 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, I believe that if you comment everything out (put a # sign in front of everything) then it won't run anything scheduled. I think the file is /etc/crontab and var/spool/cron

Just plugged around and read the cron man page.

Last edited by MasterC; 08-12-2002 at 07:01 AM.
 
Old 08-12-2002, 07:03 AM   #3
jeucken
Member
 
Registered: May 2002
Location: Alphen aan den Rijn, The Netherlands
Distribution: SuSE 10.1
Posts: 87

Original Poster
Rep: Reputation: 15
Ok thank you, another day of learning. ;-)
 
Old 08-12-2002, 07:20 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome, and thank you too, I learned something as well.
 
Old 08-12-2002, 08:16 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
If you don't want anything related to cron disable cron and anacron services to run on startup.
 
Old 08-13-2002, 02:35 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
How would I do that?
 
Old 08-13-2002, 09:07 AM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
chkconfig is your best bet, man chkconfig, basically
/sbin/chkconfig --level 2 3 4 5 crond off
the same is for anacron if you want to.
 
Old 08-13-2002, 06:40 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Thanks Boris, I think i new that at a point, but for the life of me couldn't remember it. Thank you very much.
 
Old 08-13-2002, 06:42 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
No problem
 
  


Reply



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
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
cronjob help meeh Linux - General 1 03-26-2004 11:41 AM
Cronjob engnet Linux - Networking 6 03-03-2004 09:21 AM
Su in a cronjob michedlp Programming 3 11-06-2003 08:30 AM
cronjob FastEddy Linux - General 1 04-12-2003 09:52 PM

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

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

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
Open Source Consulting | Domain Registration