Revision 074c3e6e
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
SL/DB/BackgroundJob.pm | ||
---|---|---|
10 | 10 |
|
11 | 11 |
use SL::DB::BackgroundJobHistory; |
12 | 12 |
|
13 |
use SL::BackgroundJob::Test; |
|
14 | 13 |
use SL::System::Process; |
15 | 14 |
|
16 | 15 |
__PACKAGE__->before_save('_before_save_set_next_run_at'); |
... | ... | |
38 | 37 |
my $history; |
39 | 38 |
|
40 | 39 |
my $ok = eval { |
40 |
eval "require $package" or die $@; |
|
41 | 41 |
my $result = $package->new->run($self); |
42 | 42 |
|
43 | 43 |
$history = SL::DB::BackgroundJobHistory |
Auch abrufbar als: Unified diff
Task-Server: Tatsächliches Job-Package zum Ausführungszeitpunkt laden