From 1b8a2cc3b3697f3921e26a31691acfabacc1efd6 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 17 Jul 2009 22:26:38 +0000 Subject: commit pkgpart exclusion for billing run, RT#5495 --- FS/bin/freeside-daily | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'FS/bin/freeside-daily') diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index 271c436c6..119f93a59 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -7,7 +7,7 @@ use FS::Conf; &untaint_argv; #what it sounds like (eww) use vars qw(%opt); -getopts("p:a:d:vl:sy:nmrk", \%opt); +getopts("p:a:d:vl:sy:nmrkg:", \%opt); my $user = shift or die &usage; adminsuidsetup $user; @@ -31,8 +31,9 @@ unless ( $opt{k} ) { use FS::Cron::notify qw(notify_flat_delay); notify_flat_delay(%opt); - use FS::Cron::vacuum qw(vacuum); - vacuum(); + #Pg 8.1+ auto-vaccums, 7.4 w/postgresql-contrib + #use FS::Cron::vacuum qw(vacuum); + #vacuum(); } @@ -93,6 +94,9 @@ the bill and collect methods of a cust_main object. See L. -a: Only process customers with the specified agentnum + -g: Don't process the provided pkgpart (or pkgparts, specified as a comma- + separated list). + -s: re-charge setup fees -v: enable debugging -- cgit v1.2.1