Added initial Minion support and example test job

This commit is contained in:
Thomas Bloor 2018-03-20 19:24:48 +00:00
parent da8eb2864e
commit 4476246048
6 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,15 @@
package Pear::LocalLoop::Plugin::Minion::Job::test;
use Mojo::Base -base;
has [ qw/ job / ];
sub run {
my ( $self, @args ) = @_;
$self->job->app->log->debug( 'Testing Job' );
for my $arg ( @args ) {
$self->job->app->log->debug( $arg );
}
}
1;