From b9cf39b5041702b3211a4ea5b471a3b059cd81ea Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 9 Feb 2011 08:57:23 +0000 Subject: automatically generate monthly torrus reports before 1st of the month billing, RT#10574 --- FS/bin/freeside-daily | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FS/bin/freeside-daily') 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); -- cgit v1.2.1