Run a script before shutdown
137329
Run script before restart/shutdown
83438
Script to turn fast startup on/off
153189
Windows 7 - How to run a script at shutdown but not at logoff
76123
Linux run script automatically after boot
41786
How to run a script during boot as root
83258
How to schedule a task to run when shutting down windows
122289
Re-run an application script when it crashes?
151386
What is the shutdown command?
2621
Can I nohup/screen an already-started process?
30310
How can I run/stop/relaunch an application automatically, at boot/login/some other time?
90341
Remote start up a machine that is in the shut down state?
80508
How to keep application running after closing the terminal?
124175
Java shutdown hook
111142
How to run a command at startup
97085
How can I make shutdown not require admin password?
4465
Execute a script upon logout/reboot/shutdown in Ubuntu
85942
How can I make a process I start during an SSH session run after the session has ended?