=head1 NAME

oardel - delete or checkpoint job(s).

=head1 SYNOPSIS

B<oardel> [options] <job_id> [job_id [...] ] 
B<oardel> [options] --sql <SQL WHERE clause>

=head1 DESCRIPTION

This command can be used to delete or checkpoint job(s). Jobs are passed by id.

=head1 OPTIONS

=over

=item B<-c, --checkpoint>

Send the checkpoint signal designed from the "--signal" oarsub command option (default is SIGUSR2) to the process launched by the job "job_id".

=item B<-s, --signal SIG>

Send signal SIG to the process launched by the selected jobs.

=item B<-b, --besteffort>

Change jobs to besteffort (or remove them if they are already besteffort)

=item B<--array> 

Handle array job ids, and their sub-jobs.

=item B<--sql>

Select jobs using a SQL WHERE clause on table jobs (e.g. "project = 'p1'")

=item B<--force-terminate-finishing-job>

Force jobs stuck in the Finishing state to switch to Terminated (Warning: only use as a last resort)

This using this option indicates that something nasty happened, wodes where the jobs were executing will subsequently be turned into Suspected.

=item B<-V, --version>

Print OAR version number.

=item B<-h, --help>

Print help command message.

=back

=head1 SEE ALSO

oarsub(1), oarstat(1), oarnodes(1), oarhold(1), oarresume(1)

=head1 COPYRIGHTS

 Copyright 2003-2016 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
