Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 20:02:52 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Dan Mahoney <dmahoney@pe.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running shutdown from a cron job 
Message-ID:  <19656.937245772@axl.noc.iafrica.com>
In-Reply-To: Your message of "Sun, 12 Sep 1999 20:25:11 MST." <199909130325.UAA10995@smtp.pe.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19656.937245772>