vovtasker understands Signal USR1 as killing all the jobs running
on it and exiting as soon as possible. This signal can be used to preempt
Accelerator Plus agents running on an
Accelerator queue.
When an
Accelerator Plus agent receives a USR1, it kills all jobs, and
sets the states of jobs as WITHDRAWN. These jobs get rescheduled in
Accelerator Plus and will be dispatched on a new
tasker. The
Accelerator Plus agent on
Accelerator exits
and becomes a valid job. The following is an example to preempt an
Accelerator Plus agent job on
Accelerator.
nc preempt -method "0:*:SIGUSR1" 159500