I have an app that needs to be shutdown in a graceful way which is done by deleting a file that it checks for at certain intervals. Is there a way to script it so this file gets deleted when the system is either shut down or rebooted? Eventually I want to learn how to do a start/stop script but I just want something quick and easy for now. I looked at them and it's way over my head for the time being. I just want something easy till I get around to diving deeper into those.