hmmm okay
yes you are right for the first one the:
Code:
sudo env EDITOR=nano
opens crontab in nano instead of vi, vi is such a pain in my opinion.
so if i were to go under root (The "j" is an admin on the server) then type:
Code:
env EDITOR=nano crontab -e
It should open up the right way and take of the -h, I know h does halt previously I had it just "shutdown now."
But yes I would like to Server to just Shutdown completely at five.
This server has a Grub password loader, not much of an issue but would it be possible to have it turn itself on at a certain time, would I have to remove the grub password if I want it to just go automatically to the welcome screen?
---------- Post added at 01:45 PM ---------- Previous post was at 01:41 PM ----------
when I enter in
inside root, it lists the things I posted so it should be working.
---------- Post added at 01:58 PM ---------- Previous post was at 01:45 PM ----------
then
Code:
env EDITOR=nano crontab -e
entered in the code:
Code:
0 15 * * * /sbin/shutdown now
then:
Code:
service crond restart
I tested this by putting in something similar to shutdown within three minutes, employees out to lunch so it was okay. Sure enough it clicked off. ^-^