From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 8C6602F243 for ; Tue, 7 Aug 2001 05:23:49 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f779HrP19554 for axp-list@listman.redhat.com; Tue, 7 Aug 2001 05:17:53 -0400 Received: from enterprise2.newlogic.com (enterprise2.newlogic.at [194.208.88.1]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f779Hqg19549 for ; Tue, 7 Aug 2001 05:17:52 -0400 Received: from enterprise2.newlogic.com (enterprise2 [194.208.88.1]) by enterprise2.newlogic.com (8.9.2/8.9.2) with ESMTP id LAA29783 for ; Tue, 7 Aug 2001 11:23:42 +0200 (MET DST) Received: from ultra5-25.newlogic.at (ultra5-25.newlogic.at [194.208.88.125]) by enterprise2.newlogic.com (8.9.2/8.9.2) with ESMTP id LAA29773 for ; Tue, 7 Aug 2001 11:23:41 +0200 (MET DST) Received: (from gmaier@localhost) by ultra5-25.newlogic.at (8.9.3+Sun/8.9.3) id LAA02536 for axp-list@redhat.com; Tue, 7 Aug 2001 11:23:31 +0200 (MEST) Message-ID: X-Mailer: XFMail 1.4.7p2 on Solaris X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200108070912.LAA05447@info1.informi.com> Date: Tue, 07 Aug 2001 11:23:31 +0200 (MEST) From: Gregor Maier To: axp-list@redhat.com Subject: RE: Reboot incrontab X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On 07-Aug-2001 Peter Bech wrote: > Hi, > > I'm trying to do a reboot in crontab at a specific time. Nothing happens, not > even an entry in /var/log/cron, nor any other messages, nor mail to root nor > nothing. It's simply ignored. > > Allso tried to lure cron and specifiy a shell script doing. Still complete > ignoring. > > Is cron testing for rebooting? If yes, what the to do if you want it? > > Heres is the crontab line: > > 0 7 * * * root /backup/reboot.sh >/backup/reboot.log > Are you sure that crond is running? Is this your /etc/crontab file or did you use the crontab -e command (in which case you can't add the user field) Maybe you must add the PATH to the shutdown programm in your crontab and/or the shell in which. Gregor ---------------------------------- E-Mail: Gregor Maier Date: 07-Aug-2001 Time: 11:14:30 ----------------------------------