Revision c3f94f18
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
scripts/task_server.pl | ||
---|---|---|
use SL::BackgroundJob::ALL;
|
||
use SL::Form;
|
||
use SL::Helper::DateTime;
|
||
use SL::InstanceConfiguration;
|
||
use SL::LXDebug;
|
||
use SL::LxOfficeConf;
|
||
use SL::Locale;
|
||
... | ... | |
|
||
package main;
|
||
|
||
$::lxdebug = LXDebug->new;
|
||
$::locale = Locale->new($::lx_office_conf{system}->{language});
|
||
$::form = Form->new;
|
||
$::auth = SL::Auth->new;
|
||
$::request = { cgi => CGI->new({}) };
|
||
$::lxdebug = LXDebug->new;
|
||
$::locale = Locale->new($::lx_office_conf{system}->{language});
|
||
$::form = Form->new;
|
||
$::auth = SL::Auth->new;
|
||
$::instance_conf = SL::InstanceConfiguration->new;
|
||
$::request = { cgi => CGI->new({}) };
|
||
|
||
die 'cannot reach auth db' unless $::auth->session_tables_present;
|
||
|
Auch abrufbar als: Unified diff
InstanceConfig auch im task_server laden
Ansonsten gehen CreatePeriodicInvoices nicht