Can I run a script server-side when a runner becomes unavailable for any reason?

What the title says.
If the network fails, power goes out or something like that.