Revision c3f94f18
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
scripts/task_server.pl | ||
---|---|---|
27 | 27 |
use SL::BackgroundJob::ALL; |
28 | 28 |
use SL::Form; |
29 | 29 |
use SL::Helper::DateTime; |
30 |
use SL::InstanceConfiguration; |
|
30 | 31 |
use SL::LXDebug; |
31 | 32 |
use SL::LxOfficeConf; |
32 | 33 |
use SL::Locale; |
... | ... | |
38 | 39 |
|
39 | 40 |
package main; |
40 | 41 |
|
41 |
$::lxdebug = LXDebug->new; |
|
42 |
$::locale = Locale->new($::lx_office_conf{system}->{language}); |
|
43 |
$::form = Form->new; |
|
44 |
$::auth = SL::Auth->new; |
|
45 |
$::request = { cgi => CGI->new({}) }; |
|
42 |
$::lxdebug = LXDebug->new; |
|
43 |
$::locale = Locale->new($::lx_office_conf{system}->{language}); |
|
44 |
$::form = Form->new; |
|
45 |
$::auth = SL::Auth->new; |
|
46 |
$::instance_conf = SL::InstanceConfiguration->new; |
|
47 |
$::request = { cgi => CGI->new({}) }; |
|
46 | 48 |
|
47 | 49 |
die 'cannot reach auth db' unless $::auth->session_tables_present; |
48 | 50 |
|
Auch abrufbar als: Unified diff
InstanceConfig auch im task_server laden
Ansonsten gehen CreatePeriodicInvoices nicht