diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-11-30 19:36:47 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-11-30 19:36:47 -0800 |
commit | 1e7597b555b007372810e576ce83ad192d803888 (patch) | |
tree | c61eb6cddab6d8aa84f45219f39e1174fe5172be /FS/bin | |
parent | b474400512cb725399e57d52383d0a0c407690b0 (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-x | FS/bin/freeside-monthly | 4 |
1 files changed, 3 insertions, 1 deletions
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<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 |