From owner-freebsd-questions Tue Mar 5 6:39:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from salseiros.melim.com.br (salseiros.melim.com.br [200.215.110.23]) by hub.freebsd.org (Postfix) with ESMTP id 54DD237B400 for ; Tue, 5 Mar 2002 06:39:22 -0800 (PST) Received: from fazendinha (ressacada.melim.com.br [200.215.110.4]) by salseiros.melim.com.br (Postfix) with SMTP id 5E03ABA79; Tue, 5 Mar 2002 11:39:17 -0300 (BRT) Message-ID: <006801c1c454$1d22c740$38a8a8c0@melim.com.br> From: "Ronan Lucio" To: "stan" , "Free BSD Questions list" References: <20020305143503.GA14176@teddy.fas.com> Subject: Re: Rebooting mahien from cron Date: Tue, 5 Mar 2002 11:43:28 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I have a FreeBSD machien that I need to reboot at a scheduled time. (Yes I > know this is a bad idae, trust me it's a short tem hack). > > I tried puting the following line in roots crontab using crontab -e > > 59 23 * * 2 '/sbin/shutdown -r now' 59 23 * * 2 root '/sbin/shutdown -r now' Suggestion: Why donīt u restart just the process that u need? []īs Ronan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message