This is handled via templates packages already, see MT#5879 (cherry picked from commit 06de6c6653363a21d8292c35df84e54698744bea)changes/94/294/1
parent
93c7aa5059
commit
b2b0e90910
@ -1,15 +0,0 @@
|
||||
[% TAGS [- -] %]
|
||||
DBHOST=[% database.dbhost %]
|
||||
DBPORT=[% database.dbport %]
|
||||
DBDB=[% invoicegen.dbname %]
|
||||
DBUSER=[% invoicegen.dbuser %]
|
||||
DBPASS=[% invoicegen.dbpassword %]
|
||||
|
||||
RESELLER_ID=[% invoicegen.reseller_id %]
|
||||
CLIENT_CONTRACT_ID=[% invoicegen.customer_contract_id %]
|
||||
#STIME=[% invoicegen.stime %]
|
||||
#ETIME=[% invoicegen.etime %]
|
||||
SEND=[% invoicegen.send %]
|
||||
RESEND=[% invoicegen.resend %]
|
||||
REGENERATE=[% invoicegen.regenerate %]
|
||||
ALLOW_TERMINATED=[% invoicegen.allow_terminated %]
|
@ -1,8 +0,0 @@
|
||||
[% TAGS [- -] %]
|
||||
[- IF PRO -]
|
||||
5 3 1 * * root if ! /usr/sbin/ngcp-check_active -q; then perl /usr/share/ngcp-panel-tools/generate_invoice.pl --prevmonth 2>&1 >/dev/null; fi
|
||||
5 3 2 * * root if ! /usr/sbin/ngcp-check_active -q; then perl /usr/share/ngcp-panel-tools/generate_invoice.pl --prevmonth --sendonly 2>&1 >/dev/null; fi
|
||||
[- ELSE -]
|
||||
5 3 1 * * root perl /usr/share/ngcp-panel-tools/generate_invoice.pl --prevmonth 2>&1 >/dev/null
|
||||
5 3 2 * * root perl /usr/share/ngcp-panel-tools/generate_invoice.pl --prevmonth --sendonly 2>&1 >/dev/null
|
||||
[- END -]
|
Loading…
Reference in new issue