On Thu, 2 Jun 2005, S. Anthony Sequeira wrote:

>
> Anything interesting in the mail headers?  What's your crontab look like?
>

root's fcrontab first.  logrotate, smartrep, gdg-list are scripts that
write to stdout.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SHELL=/bin/bash

# updatedb when things are quiet
30 04 * * * /usr/bin/updatedb

# follow by makewhatis
00 05 * * * /usr/sbin/makewhatis

# rotate logs on Mondays
!reset,mailto([EMAIL PROTECTED])
00 02 * * mon root /usr/sbin/logrotate

# backup self overnight
&nolog 15 03 * * * root /usr/sbin/backup boot
&nolog 25 03 * * * root /usr/sbin/backup rootfs-hda5
&nolog 45 03 * * * root /usr/sbin/backup home

# schedule a daily long test of the drive(s)
# hda is quick and can happen after makewhatis
&nolog 01 06 * * * root /usr/sbin/smartctl -t long /dev/hda
&nolog 01 05 * * * root /usr/sbin/smartctl -t long /dev/hdb

# daily run of smartrep for current status of disk(s)
55 07 * * * root /usr/sbin/smartrep /dev/hda /dev/hdb

# daily report of backups
!reset,mailto([EMAIL PROTECTED])
55 07 * * * root /usr/sbin/gdg-list

# frequently check the disk(s), but quiet if ok
&nolog 35 * * * * root /usr/sbin/smartcheck /dev/hda /dev/hdb

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

and now the complete mails, extracted from the mbox.
This pair are from today's smartrep and gdg-list.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
From [EMAIL PROTECTED]  Thu Jun  2 07:55:01 2005
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from john_the_monkey.kenmoffat.uklinux.net (john_the_monkey 
[192.168.0.6])
        by ppgpenguin.kenmoffat.uklinux.net (Postfix) with ESMTP id 58324146DF
        for <[EMAIL PROTECTED]>; Thu,  2 Jun 2005 07:55:01 +0100 (BST)
Received: by john_the_monkey.kenmoffat.uklinux.net (Postfix, from userid 0)
        id 50C4728FC2; Thu,  2 Jun 2005 07:55:01 +0100 (BST)
Message-Id: <[EMAIL PROTECTED]>
Date: Thu,  2 Jun 2005 07:55:01 +0100 (BST)
From: [EMAIL PROTECTED] (fcron)
To: undisclosed-recipients: ;
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on
        ppg_penguin.kenmoffat.uklinux.net
X-Spam-Level:
X-Spam-Status: No, score=-3.4 required=3.0 tests=ALL_TRUSTED,BAYES_00,
        MISSING_SUBJECT,UNDISC_RECIPS autolearn=no version=3.0.0
Status: RO
X-Status:
X-Keywords:
X-UID: 31


From [EMAIL PROTECTED]  Thu Jun  2 07:55:02 2005
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from john_the_monkey.kenmoffat.uklinux.net (john_the_monkey 
[192.168.0.6])
        by ppgpenguin.kenmoffat.uklinux.net (Postfix) with ESMTP id 2C701146DF
        for <[EMAIL PROTECTED]>; Thu,  2 Jun 2005 07:55:02 +0100 (BST)
Received: by john_the_monkey.kenmoffat.uklinux.net (Postfix, from userid 0)
        id 2ABB428FC2; Thu,  2 Jun 2005 07:55:02 +0100 (BST)
Message-Id: <[EMAIL PROTECTED]>
Date: Thu,  2 Jun 2005 07:55:02 +0100 (BST)
From: [EMAIL PROTECTED] (fcron)
To: undisclosed-recipients: ;
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on
        ppg_penguin.kenmoffat.uklinux.net
X-Spam-Level:
X-Spam-Status: No, score=-3.4 required=3.0 tests=ALL_TRUSTED,BAYES_00,
        MISSING_SUBJECT,UNDISC_RECIPS autolearn=no version=3.0.0
Status: RO
X-Status:
X-Keywords:
X-UID: 32


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

TIA

Ken
-- 
 das eine Mal als Trag�die, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to