I'm sure some code head could make some software to do that. I've not made the effort to get in the OS services to make such a service as I think I have a better way which I use.
What I have for compiling of code or running reports is a Mac Mini under my desk which I share the HD with to write my code and then I run Apple's Remote to remotely control it, I have it do all the long processing chores. No display or keyboard or mouse on it and is plugged in to a UPS as well.
This leaves my desktop system free for other things and no one can mess it up (including me).