1 package SL::BackgroundJob::Test;
5 use parent qw(SL::BackgroundJob::Base);
8 my ($self, $db_obj) = @_;
9 my $data = $db_obj->data_as_hash;
11 $::lxdebug->message(0, "Test job is being executed.");
13 die "Oh cruel world: " . $data->{exception} if $data->{exception};
15 return exists $data->{result} ? $data->{result} : 1;