diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-11-08 10:51:02 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-11-08 10:51:02 -0800 |
commit | 2db2afe957a655c5048031c86441b900c53f4dd2 (patch) | |
tree | f396a25983bc47976703397d67b445d946c97aa4 /FS/bin | |
parent | 6755630dd7c6455050d7444fd109e83615f7de9f (diff) |
add option for multi-process billing to queue additional jobs for the same customer instead of skipping them, RT#81698
Diffstat (limited to 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-daily | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index f1b7e58..6d4182b 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -8,7 +8,7 @@ use FS::Log; &untaint_argv; #what it sounds like (eww) use vars qw(%opt); -getopts("p:a:d:vl:sy:nmrkg:ox", \%opt); +getopts("p:a:d:vl:sy:nmqrkg:ox", \%opt); my $user = shift or die &usage; adminsuidsetup $user; @@ -128,7 +128,7 @@ freeside-daily - Run daily billing and invoice collection events. =head1 SYNOPSIS - freeside-daily [ -d 'date' ] [ -y days ] [ -a agentnum,agentnum,... ] [ -s ] [ -o ] [ -v ] [ -l level ] [ -m ] [ -r ] [ -k ] user [ custnum custnum ... ] + freeside-daily [ -d 'date' ] [ -y days ] [ -a agentnum,agentnum,... ] [ -s ] [ -o ] [ -v ] [ -l level ] [ -m [ -q ] [ -r ] ] [ -k ] user [ custnum custnum ... ] =head1 DESCRIPTION @@ -167,6 +167,8 @@ the bill and collect methods of a cust_main object. See L<FS::cust_main>. -m: Multi-process mode uses the job queue for multi-process and/or multi-machine billing. + -q: When using multi-process mode, queue a additional billing job even if ones for the customer are already in the queue + -r: Multi-process mode dry run option -k: skip notify_flat_delay |