LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2003, 05:31 AM   #1
manojthakkar
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Rep: Reputation: 0
is there a way to stop cronjobs mail for certain acticities


Hi i am getting weired mails running other than what all i have configured in my cronjobs i think for some other activities also m getting some messages
is there a way to check it out
as i get the following mwssage every 15 minutes

Cron: can't change directory to your home directory.
Your commands will not be executed.
 
Old 12-08-2003, 12:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I'd suggest having a look at all
crontab files (whereever they may
be in whatever distro you use) and
try to locate which ones are run every
15 minutes and fix the error rather than
suppressing the output :}


Cheers,
Tink
 
Old 12-08-2003, 09:58 PM   #3
manojthakkar
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
but i didn't find any cron running after every 10-15 minutes and these junk mails come very irregularly such as fater 25 minutes then after every 3 minutes even late night or early morninh when nothing is running on the system.
will you please tell me what all crontab files may be i may be missing some one and where will i find them
 
Old 12-08-2003, 10:35 PM   #4
manojthakkar
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
i am getting 2 mails at the same time say 10 a.m. stating the same then a mail after 3 minutes say 10:03 a.m. and all is there any cron which runs all the time or something.
 
Old 12-08-2003, 10:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What distro are you using?

A few options:
Files in ...
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/cron.weekly

The files in
/var/spool/cron/crontabs


Cheers,
Tink
 
Old 12-08-2003, 10:56 PM   #6
manojthakkar
LQ Newbie
 
Registered: Dec 2003
Posts: 12

Original Poster
Rep: Reputation: 0
hi all i have under etc is a cron file thts it there is nothng like cron.daily..crom.hourly......
and when i did crontab -e the follwing is the output
# This file is used to schedule the tasks.
# Be careful while modifying this file.

0 1 * * 0,2 /cronjobs/backup >/dev/null
30 13,16,19 * * * /cronjobs/import
30 11,18 * * * /cronjobs/export
00 15 * * * /cronjobs/export
30 12,14,17 * * * /cronjobs/internal_sync
#0 6 * * 1 /cronjobs/lsepoch_non_common >/dev/null
~

kindly suggest
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How the sendmail stop the Spam mail? goonfui_wong Linux - Networking 6 06-29-2005 09:04 AM
Stop trying sending mail dani81 Linux - Newbie 0 10-13-2004 06:17 AM
how to stop Logdrake mail alert kozaki Mandriva 6 07-21-2004 11:11 AM
can't start/stop postfix/external mail JM_Fraser Linux - Networking 0 11-25-2003 03:01 PM
How to stop crontab mail? _TK_ Linux - General 4 06-04-2001 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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