summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-11-30 19:36:47 -0800
committerIvan Kohler <ivan@freeside.biz>2012-11-30 19:36:47 -0800
commit1e7597b555b007372810e576ce83ad192d803888 (patch)
treec61eb6cddab6d8aa84f45219f39e1174fe5172be /FS/bin
parentb474400512cb725399e57d52383d0a0c407690b0 (diff)
have freeside-monthly take and pass a -m flag so it can tell the upload to wait for billing jobs, RT#6802
Diffstat (limited to 'FS/bin')
-rwxr-xr-xFS/bin/freeside-monthly4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/bin/freeside-monthly b/FS/bin/freeside-monthly
index 0d6ea14..69502a0 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<FS::cust_main>.
-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