Koha::BackgroundJobs - Koha BackgroundJob Object set class
my $background_jobs = Koha::BackgroundJobs->search_limited( $params, $attributes );
Returns all background jobs the logged in user should be allowed to see
my $current_jobs = $jobs->filter_by_current;
Returns a new resultset, filtering out finished jobs.