From owner-freebsd-questions Mon Sep 13 11: 3:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id ECF91158D5 for ; Mon, 13 Sep 1999 11:03:01 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11QaRI-000573-00; Mon, 13 Sep 1999 20:02:52 +0200 From: Sheldon Hearn To: Dan Mahoney Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Running shutdown from a cron job In-reply-to: Your message of "Sun, 12 Sep 1999 20:25:11 MST." <199909130325.UAA10995@smtp.pe.net> Date: Mon, 13 Sep 1999 20:02:52 +0200 Message-ID: <19656.937245772@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Sep 1999 20:25:11 MST, Dan Mahoney wrote: > Unfortunately, when I tried adding a line like > 0 0 * * * /sbin/shutdown -r now > to root's crontab, the shutdown never happens. > I assume I'm overlooking something pretty > basic here. Is there some valid reason why > I can't run shutdown or reboot from a cron job? Yes. Like you said, the machine's locking up. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message