]>
iEval git - gruntmaster-data.git/blob - lib/Gruntmaster/App/Command/Rerun.pm
bb4c0c8c6cb1d6928eb6bc82b563982c804536db
1 package Gruntmaster
::App
::Command
::Rerun
;
6 our $VERSION = '5999.000_015';
8 use Gruntmaster
::App
'-command';
11 sub usage_desc
{ '%c rerun id' }
14 my ($self, $opt, $args) = @_;
16 $self->usage_error('This command only works on jobs') if $self->app->table && $self->app->table ne 'jobs';
17 $self->usage_error('Wrong number of arguments') if @args != 1;
21 my ($self, $opt, $args) = @_;
33 Gruntmaster::App::Command::Rerun - rerun a job
41 The rerun command takes the ID of a job, clears its result, and makes
42 B<gruntmaster-daemon> rerun it.
50 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
52 =head1 COPYRIGHT AND LICENSE
54 Copyright (C) 2014-2015 by Marius Gavrilescu
56 This library is free software; you can redistribute it and/or modify
57 it under the same terms as Perl itself, either Perl version 5.20.1 or,
58 at your option, any later version of Perl 5 you may have available.
This page took 0.042361 seconds and 3 git commands to generate.