Skip to content

Instantly share code, notes, and snippets.

@s4553711
Last active December 11, 2015 05:39
Show Gist options
  • Save s4553711/4553851 to your computer and use it in GitHub Desktop.
Save s4553711/4553851 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
package PJProcess;
use base qw( TheSchwartz::Worker TheSchwartz::Job );
sub work {
my $class = shift;
my TheSchwartz::Job $job = shift;
...
$job->completed();
}
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment