Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 09:35:03 -0500
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Rebooting mahien from cron
Message-ID:  <20020305143503.GA14176@teddy.fas.com>

next in thread | raw e-mail | index | archive | help
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'

But the only result was that I got mailed an error message saying cron
could not find /sbin/shutdown.

What am I doing wrong here?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin

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?20020305143503.GA14176>