Resque::Plugin::Retry - Retry the fail job
use Resque; my $resque = Resque->new(redis => $redis_server, plugins => ['Retry']); $resque->push('test-job' => +{ class => 'Hoge', args => [+{ cat => 'nyaaaa' }, +{ dog => 'bow' }], max_retry => 3, } );
Retry when the job fails
Copyright (C) meru_akimbo.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
meru_akimbo <merukatoruayu0@gmail.com>
To install Resque::Plugin::Retry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Resque::Plugin::Retry
CPAN shell
perl -MCPAN -e shell install Resque::Plugin::Retry
For more information on module installation, please visit the detailed CPAN module installation guide.