summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorivan <ivan>2009-07-17 22:26:38 +0000
committerivan <ivan>2009-07-17 22:26:38 +0000
commit1b8a2cc3b3697f3921e26a31691acfabacc1efd6 (patch)
tree213a5a147f40cf98e0e870561c57660c7642bf8a /FS/bin/freeside-daily
parent4bfca794e2bd03379d11b9efe437676323e7eb31 (diff)
commit pkgpart exclusion for billing run, RT#5495
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-xFS/bin/freeside-daily10
1 files changed, 7 insertions, 3 deletions
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<FS::cust_main>.
-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