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 16:06:15 +0000
  • Message-id: <201001011606.15738.linux@xxxxxxxxxxxxxxxxxxxxx>
On Friday 01 Jan 2010 14:23:20 Anders Johansson wrote:
On Fri, 2010-01-01 at 02:15 +0000, Bob Williams wrote:
Subject: Cron <root@barrowhillfarm> echo test

This is not a normal cron job. This is something that you (or someone
else with access to the root account) added to root's crontab. Run

crontab -e

as root, I'll bet you see a line in there that simply does "echo test"

Anders

Well, I don't remember adding this echo test job to root's crontab. For one
thing, I don't think I'm knowledgeable enough. But you're quite correct, it
does just output "echo test".

This is root's crontab:

SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-
crons >/dev/null 2>&1

# Backup schedule to /media/VirtualMachines:

# run daily backup every day at 11.50pm
50 23 * * * root /usr/bin/rsnapshot daily
# run weekly backup every week at 11.40pm
40 23 * * 6 root /usr/bin/rsnapshot weekly
# run monthly backup at 11.30pm on 1st day of month
30 23 1 * * root /usr/bin/rsnapshot monthly

# Backup schedule to /castor:
0 2,6,10,14,18,22 * * * root /usr/bin/rsnapshot -c /etc/rsnapshot.conf2
hourly
50 1 * * * root /usr/bin/rsnapshot -c /etc/rsnapshot.conf2 daily
40 1 * * 6 root /usr/bin/rsnapshot -c /etc/rsnapshot.conf2 weekly
30 1 1 * * root /usr/bin/rsnapshot -c /etc/rsnapshot.conf2 monthly

From what you say, I can safely delete the line containing:

-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-
crons >/dev/null 2>&1

??

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 >