LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2004, 06:27 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
crontab locations


Anyone know another place then /etc/crontab that cron checks?

I have these cron jobs that keep runinng and they cause all sorts of problems (it makes the mail server go nuts by bouncing mail all over recursively). I need to clear the mail queue every day because it ends up having a few hundred messages and it simply multiplies because of some cron job that's sending an email to a bad address. I need to get rid of that cronjob but don't know where it is. Thanks!
 
Old 09-23-2004, 06:29 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
run crontab -e
 
Old 09-23-2004, 06:38 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The root's crontab is located in /etc/crontab. Users crontab is located in /var/spool/cron. Just put "" on the line that states MAIL. Then it would not send any e-mails.
 
Old 09-23-2004, 06:47 PM   #4
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Thanks crontab -e worked... there was only one entry and it was the one that was causing the problems. My /etc/crontab works fine... but why was it not displayed in crontab -e? As long as it works, great, but I just found it weird that there was an entry in a seperate file like that.
 
Old 09-23-2004, 06:51 PM   #5
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
well crontab -e only displays the cron jobs for the user that you execute it with
 
  


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
Application locations? nthnmsnr Linux - Newbie 4 07-22-2005 08:38 AM
Locations for new programs. unreal128 Linux - Newbie 1 05-20-2005 04:03 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
File Locations stodgel Linux - General 1 06-13-2003 08:02 AM
File locations peeples Linux - Distributions 5 10-04-2002 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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