summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorivan <ivan>2011-02-09 08:57:23 +0000
committerivan <ivan>2011-02-09 08:57:23 +0000
commitb9cf39b5041702b3211a4ea5b471a3b059cd81ea (patch)
treeb31c9f73630ee1b8183f4c01018e4c63d8fb406c /FS/bin/freeside-daily
parent1833cbb8c9a99ac9e650dda0a51bba492ad25c04 (diff)
automatically generate monthly torrus reports before 1st of the month billing, RT#10574
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-xFS/bin/freeside-daily4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
index 09ae132df..3e4843b12 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -12,6 +12,10 @@ getopts("p:a:d:vl:sy:nmrkg:u", \%opt);
my $user = shift or die &usage;
adminsuidsetup $user;
+#you can skip this by not having a NetworkMonitoringSystem configured
+use FS::Cron::nms qw(nms_report);
+nms_report(%opt);
+
#you can skip this by setting the disable_cron_billing config
use FS::Cron::bill qw(bill);
bill(%opt);