Mailinglist Archive: opensuse (1194 mails)

< Previous Next >
Re: [opensuse] How do I get system mail?
  • From: Bob Williams <linux@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 1 Jan 2010 15:59:48 +0000
  • Message-id: <201001011559.48980.linux@xxxxxxxxxxxxxxxxxxxxx>
On Friday 01 Jan 2010 14:17:31 Carlos E. R. wrote:
On Friday, 2010-01-01 at 13:54 -0000, Bob Williams wrote:
That's my sleepy guess at this early time of the year :-)

My mistake. I have the same as you quote above in /etc/crontab. My
previous quote was taken from what is displayed in System Settings >
Advanced > Task Scheduler.

Oops :-)

Then, that file is correct.

Then have a look at "/etc/sysconfig/cron", you should have:

SEND_MAIL_ON_NO_ERROR="no"

Yes, that's what I have here.

Otherwise, it is some other job. Do "ls /var/spool/cron/tabs/", it will
list what users have personal cronjobs. Then, use "crontab -u user -l to
list that job.

barrowhillfarm:~ # ls /var/spool/cron/tabs/
bob root

barrowhillfarm:~ # crontab -u bob -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/bob/.kde4/tmp-barrowhillfarm/systemsettingsw11681.tmp installed on
Wed Nov 25 09:39:14 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
#Checks for incoming rsync downloads
0 12 * * * /home/bob/bin/newstuff5.pl

This one is doing what it should, i.e. it sends me an e-mail with the output
of the perl script.

barrowhillfarm:~ # crontab -u root -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXZ5pVMa installed on Sun Nov 22 19:05:53 2009)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
* * * * * echo test

This looks like the villain. But surely, it has to run to check whether there
are any pending cron jobs? Interestingly, the above "crontab -u root -l"
command doesn't list the rsnapshot jobs that are run as user root :~(

Bob
--
Registered Linux User #463880 FSFE Member #1300
GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E
openSUSE 11.2, Kernel 2.6.31.5-0.1-desktop, KDE 4.3.3
Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9200GS
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >