projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e5a8b
)
Task-Server: Tatsächliches Job-Package zum Ausführungszeitpunkt laden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Aug 2012 08:43:32 +0000
(10:43 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Aug 2012 08:43:37 +0000
(10:43 +0200)
SL/DB/BackgroundJob.pm
patch
|
blob
|
history
diff --git
a/SL/DB/BackgroundJob.pm
b/SL/DB/BackgroundJob.pm
index
b7b907b
..
9f2f7cb
100644
(file)
--- 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