> 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.
--
=========================================================================
| Brian Eith [EMAIL PROTECTED] http://www.cs.wisc.edu/~eith |
=========================================================================
| Linux is user friendly. It's just selective about who its friends are |
=========================================================================
Boycott Micro$oft - http://www.vcnet.com/bms/
For PGP public key: http://www.cs.wisc.edu/~eith/key.html
--
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.