From: Peter Bech <peterb@informi.com>
To: axp-list@redhat.com
Subject: Re: RE: Reboot incrontab
Date: Tue, 7 Aug 2001 15:32:42 +0200 [thread overview]
Message-ID: <200108071332.PAA06610@info1.informi.com> (raw)
In-Reply-To: <XFMail.20010807150636.gregor.maier@newlogic.com>
[-- Attachment #1: Body --]
[-- Type: text/plain, Size: 1353 bytes --]
It's in the system crontab /etc/crontab. The other lines work fine.
Heres the whole lot:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
# Hent posten
# 05 0,3,6,9,10,11,12,13,14,15,16,17,18,21 * * * root /etc/hentpost.sh
>/dev/null 2>/dev/null
3,12,21,39,46,57 * * * * root /etc/hentpost.sh >/dev/null 2>/dev/null
30 0 * * 0 root /backup/bak_week.sh >/backup/backup_week.log 2>/dev/null
#30 0 * * 3 root /backup/bak_wed.sh >/backup/backup_wed.log 2>/dev/null
# Reboot system
0 7 * * * root /backup/reboot.sh >/backup/reboot.log
All the other lines work except the last line. If there is an error in the
line, I would suspect a messge somwhere. At least I would expect a log entry in
/var/cron.
But could it be so simple, that I need a path to the "reboot" command? Or do I
need the -f flag?
Peter Bech
Informi A/S
------------------------------------------------------------
Open Systems Hardware and Software Consultants
Applix - Linux - Unix - OpenVMS - Alpha Systems
Phone (+45): 4593 7666 Fax: 4593 6335 Mob: 4087 7601
Web: www.informi.com (Private: www.efk87.dk)
------------------------------------------------------------
next prev parent reply other threads:[~2001-08-07 13:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-07 11:59 Reboot incrontab M. Osten
2001-08-07 13:06 ` Gregor Maier
2001-08-07 13:32 ` Peter Bech [this message]
2001-08-07 13:40 ` Linus Gasser
2001-08-08 8:05 ` Re[2]: " Peter Bech
2001-08-08 8:38 ` Re[3]: " Peter Bech
2001-08-08 8:43 ` Re[2]: " Danilo Godec
2001-08-08 10:10 ` Helge Kreutzmann
2001-08-08 10:44 ` Re[2]: " Peter Bech
2001-08-08 11:23 ` Mike A. Harris
2001-08-08 10:15 ` Mike A. Harris
2001-08-08 12:34 ` David Bremner
-- strict thread matches above, loose matches on Subject: below --
2001-08-07 9:23 Gregor Maier
2001-08-07 9:29 ` Peter Bech
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox