At 12:39 AM 5/14/98 -0500, you wrote:
>> Ok, I see cron.daily, cron.weekly, etc. How do I schedule for the machine
>> to shutdown and perform a reboot once a day? Do I put a script in
>> cron.daily? I see one there (or in one of them) so I'll copy the format.
>> Just add 'shutdown -r now' I presume? I have no Xwindows on this system
>> (for space reasons).
>
>Log in as root, type crontab -e, and add:
>
>01 03 * * * /sbin/shutdown -r now
>
>This will shutdown the computer at 1 minute past the hour of 3:00 am
>every day of every week of every month.
>
>Good Luck!!
>
>Brian.
Thanks very much for yours and the other VERY helpfull responses.
John Herrbach, Lansing, MI
[EMAIL PROTECTED] (preferred)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.