I've put together a simple "deadman switch" using upstart to automatically shutdown my EC2 instances after a period of time. I'm doing this to avoid the dreaded Monday morning blues when you realized you've left a instance up and running all weekend (and yes, I could use cloud watch but I was hoping for a very straightforward and easy solution).
My question is that will I run afoul with any problems if my upstart script is simply:
sleep +55m shutdown -h now
I'm worried that when the shutdown changes the run levels that it could have some negative consequences when it gets to the upstart process that is running the shutdown itself.