Auto shutdown?
Hi,
I run Fedora 21 Workstation, and use it for a NAS server. it works perfect! The only problem i have is that you dont have a function to auto shutdown. i know it is possible to run a .desktop file or another file type. but i dont know how to set it up.
What i need is when the system boot, not login, the command:
"shutdown -h 22:00" runs
How should i set this up??? Sorry for my bad English :(
Greets, Sjaak
http://www.freedesktop.org/software/s... maybe add a systemd timer, I am used to using atd or crond, so the below might be wrong. [Unit] Description=Nightly Poweroff [Timer] OnCalendar= --* 22:00:00 Unit=exit.target
http://jason.the-graham.com/2013/03/0... Probably should add : [Install] WantedBy=multi-user.target and remember to add this config file named something like nightly_off.timer in /etc/systemd/system/ or /usr/lib/systemd/system .
Thank you for your anwser