[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Feature request: condor_off -peaceful -wait

Maybe I'm missing an obvious way to accomplish this task. I'd like to
shut down the condor deamons on a machine because I want to reboot it.
I'm willing to wait for any current jobs on the machine to leave of
their own accord. I was hoping the -peaceful option to condor_off would
not return the prompt until the jobs left the machine, but no luck. Is
their an obvious way to script something like:

  condor_off -peaceful
  shutdown --reboot

With a -wait option it's trivial but without it I now have to figure out
whether or not the machine is running at jobs before calling shutdown.