From b2b0e9091046ee33f6220f5ef89aede866a6dbb1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 30 Sep 2014 09:58:41 +0200 Subject: [PATCH] MT#9307 Drop broken invoice-gen files This is handled via templates packages already, see MT#5879 (cherry picked from commit 06de6c6653363a21d8292c35df84e54698744bea) --- etc/invoice-gen.conf | 15 --------------- etc/invoice-gen.cron | 8 -------- 2 files changed, 23 deletions(-) delete mode 100644 etc/invoice-gen.conf delete mode 100644 etc/invoice-gen.cron diff --git a/etc/invoice-gen.conf b/etc/invoice-gen.conf deleted file mode 100644 index 6a34649ddf..0000000000 --- a/etc/invoice-gen.conf +++ /dev/null @@ -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 %] \ No newline at end of file diff --git a/etc/invoice-gen.cron b/etc/invoice-gen.cron deleted file mode 100644 index 1a22b427df..0000000000 --- a/etc/invoice-gen.cron +++ /dev/null @@ -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 -]