Switching all jobs to a different queue

Procedure

Run bswitch -q from_queue to_queue 0 to switch all the jobs in a queue to another queue.

The -q option is used to operate on all jobs in a queue. The job ID number 0 specifies that all jobs from the night queue should be switched to the idle queue:

The following example selects jobs from the night queue and switches them to the idle queue.

bswitch -q night idle 0
Job <5308> is switched to queue <idle> 
Job <5310> is switched to queue <idle>