Crontab job problem

Billy Pumphrey billy at PLANETGEEK.BIZ
Thu Oct 28 14:57:59 IST 2004


I went and did it, I messed up the Cron jobs that happen, trying to figure
out they work and so on.  I might just have the crons fixed but my log watch
is messed up.  I found out that log watch already has a filter for
mailscanner, as I didn't even know what a filter was.  Anyway..here are the
details, any help is greatly apprecitated.



--------------------- crontab
----------------------------------------------------------

I did a (logged in as root) crontab -L before anything was messed up and
here is what it said:
[root at MailScanner cron.daily]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.5900 installed on Tue Apr  6 10:05:20 2004)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
0-59/5 * * * * /etc/mail/mailstats.pl >> /dev/null 2>&1
28 1 * * *      /usr/local/bin/rules_du_jour

I did some command and erased all these.  So I got them back by doing a
crontab -e and putting them in the .tmp file it created.  Now it reads this
when I do a crontab -L

[root at MailScanner root]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.11584 installed on Wed Oct 27 15:08:32 2004)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
0-59/5 * * * * /etc/mail/mailstats.pl >> /dev/null 2>&1
28 1 * * * /usr/local/bin/rules_du_jour
[root at MailScanner root]#

Please confirm that the error on my part is corrected from what I did.

If you could take a minute and explain to me the difference between what is
in crontab and how the logwatch runs or something.  The logwatch is
abviously not in the crontab -l but it runs.  Do the dail, monthly, etc just
run if they are setup and don't have to be in crontab?


Thank you for your help
Billy Pumphrey
IT Manager
Wooden & McLaughlin

------------------------ MailScanner list ------------------------ To
unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).




More information about the MailScanner mailing list