Added initial Minion support and example test job

This commit is contained in:
Thomas Bloor 2018-03-20 19:24:48 +00:00
parent cc6ea41ce5
commit 1302f9e843
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC
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;