<<

NAME

Koha::BackgroundJob::ErmSushiHarvester - Background job derived class to process the ERM Usage Statistics SUSHI Harvester =head1 API

Class methods

job_type

Define the job type of this job: erm_sushi_harvester

process

Koha::BackgroundJob->find($id)->process( { ud_provider_id => $self->erm_usage_data_provider_id } );

Process the harvesting.

report_info

Setter for report_info

set_job_size

Setter for job_size

add_message

    $job->add_message(
        {
            type => 'success', # success, warning or error
            code => 'object_added', # object_added or object_already_exists
            title => $row->{Title},
            message => 'message',
        }
    );

Add a new job message

enqueue

Enqueue the new job

<<