- $self->background_job(SL::DB::BackgroundJob->new(cron_spec => '* * * * *'));
- $self->render('background_job/form', title => $::locale->text('Create a new background job'));
+ $self->background_job(SL::DB::BackgroundJob->new(cron_spec => '* * * * *', package_name => 'Test'));
+ $self->render('background_job/form',
+ title => $::locale->text('Create a new background job'),
+ JOB_CLASSES => [ SL::BackgroundJob::Base->get_known_job_classes ]);