How to force script execution before shutdown or reboot is executed?
41999
How to run a script with systemd right before shutdown?
35715
What is the proper terminal-way to shutdown?
147038
How to enable execution of PowerShell scripts?
124639
How to get shutdown hook to execute on a process launched from Eclipse
137198
How to change Power button shutdown action to run a script under systemd
64280
Prevent GNU screen from terminating session once executed script ends
23508
Script at Startup
143587
Scripts that detects kernel activity and reboots when kernel freezes
83258
How to schedule a task to run when shutting down windows
24645
Automatically restart a Unix job if it goes down?
14812
Autorun a script after I plugged or unplugged a USB device
24948
Run Script at fail login attempt?
146780
Why do I get a reboot instead of a shutdown?
42934
How can the order of execution in the shell as it relates to redirection be upset about 1 time out of a 1000 on my system?
89674
Execute shell script or command on idle time
138665
How to run a command before the machine automatically shuts down?
109433
How to run an executable on boot and keep it running?