2 # Batch EXecutor 3.0 -- Operations on a Job
3 # (c) 2011-2012 Martin Mares <mj@ucw.cz>
15 "q|queue=s" => \$queue_name,
16 ) && @ARGV == 1 or die <<AMEN ;
17 Usage: bex job [<options>] <job-id>
20 -e, --edit Run editor on the given job (no locking)
21 -q, --queue=<name> Act on the given queue
24 my $queue = BEX::Queue->new($queue_name);
25 my $fn = $queue->job_file($ARGV[0]);
26 -f $fn or die "No such job " . $ARGV[0] . "\n";