I like the
batch commands for scheduling long running tasks I do not plan to stick around to see. But my longest running tasks share resources other than just the CPU (databases, free disk space, and resident memory are all an issue).
I want to specify what resources a task would need and then have them run whenever all their resources become available. It sounds like this must already exist, but what command does that?