shut down without shutdown

Colby W. colbyw at gmail.com
Fri Nov 9 10:12:28 MST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Nov 9, 2007 10:09 AM, Andres Gonzalez <gonzo at agoralabs.com> wrote:
> I am working on a dedicated file server using RAID-1 and mdadm. I want
> to be able to run this box without a monitor and keyboard. Also, it
> will not be running 24/7.
>
> Is there any clean way to turn off the box without using the normal
> shutdown? Since I will not be using a keyboard/monitor, I need a way
> to power down gracefully at the end of the day without first executing
> the shutdown command with a keyboard.

= Install OpenSSH server and SSH in to shut it down.
= Add a crontab entry in root's crontab to shut it down at a specific
time of day (see shutdown(8))

 --- Colby


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQEVAwUBRzSU9+y+Nn4pThDhAQqpbQf/UHq2orxzYV9LpD665JPBYMI9P9RWOpxx
Y3fpcv4abiao/WQJQ/8DPRKRCwQog+xr0LSzCY/0DdYjPCQyuuiIT5IMtTpP9Z+q
+EV3e3CvxvIX8IrOntzH/TmG6ohP0YXHSEtsU1TzUGKzVo5pkcfd8roAC9SNV2wS
smMTZbk7n9jsw+9cgD6pe5B5ctGgJfmB2oML+U7IFDrySCcHdYqir4lYRYAo2a3N
eghRFWyKV3yiewl5iAffdt3tCci+qH3++cW9rr1jxK0OlxA6/kz6G2eUueV6Bf/Y
SJjJ9/P0AhQF2kXXfmUGXGFPxVk0fMeqxoe/mJFFTFf8dxXJgLvmBA==
=okKX
-----END PGP SIGNATURE-----



More information about the PLUG mailing list