From 1e7597b555b007372810e576ce83ad192d803888 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 30 Nov 2012 19:36:47 -0800 Subject: [PATCH] have freeside-monthly take and pass a -m flag so it can tell the upload to wait for billing jobs, RT#6802 --- FS/bin/freeside-monthly | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FS/bin/freeside-monthly b/FS/bin/freeside-monthly index 0d6ea14a2..69502a01d 100755 --- a/FS/bin/freeside-monthly +++ b/FS/bin/freeside-monthly @@ -7,7 +7,7 @@ use FS::UID qw(adminsuidsetup); &untaint_argv; #what it sounds like (eww) #use vars qw($opt_d $opt_v $opt_p $opt_a $opt_s $opt_y); use vars qw(%opt); -getopts("p:a:d:vsy:", \%opt); +getopts("p:a:d:vsy:m", \%opt); my $user = shift or die &usage; adminsuidsetup $user; @@ -72,6 +72,8 @@ the bill and collect methods of a cust_main object. See L. -v: enable debugging + -m: Experimental multi-process mode (delay upload jobs until billing jobs complete) + user: From the mapsecrets file - see config.html from the base documentation custnum: if one or more customer numbers are specified, only bills those -- 2.11.0