From 074c3e6e526908e7ae25801e29308a89dd88ad21 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 30 Aug 2012 10:43:32 +0200 Subject: [PATCH] =?utf8?q?Task-Server:=20Tats=C3=A4chliches=20Job-Package?= =?utf8?q?=20zum=20Ausf=C3=BChrungszeitpunkt=20laden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/BackgroundJob.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/BackgroundJob.pm b/SL/DB/BackgroundJob.pm index b7b907bb7..9f2f7cb05 100644 --- a/SL/DB/BackgroundJob.pm +++ b/SL/DB/BackgroundJob.pm @@ -10,7 +10,6 @@ use SL::DB::Manager::BackgroundJob; use SL::DB::BackgroundJobHistory; -use SL::BackgroundJob::Test; use SL::System::Process; __PACKAGE__->before_save('_before_save_set_next_run_at'); @@ -38,6 +37,7 @@ sub run { my $history; my $ok = eval { + eval "require $package" or die $@; my $result = $package->new->run($self); $history = SL::DB::BackgroundJobHistory -- 2.20.1