The squeue command with the --state and --format options can be used
to build a script that runs "scontrol requeue <jobid>" for each
running job. See the man pages for details.
Quoting "Martin, Eric" <ericmar...@wustl.edu>:
Where can I find the command to requeue all jobs? I've drained all
resources and would now like to reschedule running jobs.
Eric Martin
Center for Genome Sciences & Systems Biology
Washington University School of Medicine
4444 Forest Park Avenue
St. Louis, MO 63108
The materials in this message are private and may contain Protected
Healthcare Information or other information of a sensitive nature.
If you are not the intended
recipient, be advised that any unauthorized use, disclosure,
copying or the taking of any action in reliance on the contents of
this information is strictly prohibited. If you have received this
email in error, please immediately notify the sender via telephone
or return mail.
--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support