summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorivan <ivan>2009-04-25 22:50:37 +0000
committerivan <ivan>2009-04-25 22:50:37 +0000
commit0d4f3972712426eb537aa6eb1db3c8cfac82fdb7 (patch)
treeb34876c836a82dc02c88953541afeaef79ab6680 /FS/bin
parentc5b1888828acf880864aaba351e07f1c767ad841 (diff)
add dry run to multi-process mode for testing, RT#4412
Diffstat (limited to 'FS/bin')
-rwxr-xr-xFS/bin/freeside-daily6
1 files changed, 4 insertions, 2 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
index d76cb37b9..cbcbc42fe 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -6,7 +6,7 @@ use FS::UID qw(adminsuidsetup);
&untaint_argv; #what it sounds like (eww)
use vars qw(%opt);
-getopts("p:a:d:vl:sy:nmk", \%opt);
+getopts("p:a:d:vl:sy:nmrk", \%opt);
my $user = shift or die &usage;
adminsuidsetup $user;
@@ -57,7 +57,7 @@ freeside-daily - Run daily billing and invoice collection events.
=head1 SYNOPSIS
- freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] [ -l level ] [ -m ] [ -k ] user [ custnum custnum ... ]
+ freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] [ -l level ] [ -m ] [ -r ] [ -k ] user [ custnum custnum ... ]
=head1 DESCRIPTION
@@ -91,6 +91,8 @@ the bill and collect methods of a cust_main object. See L<FS::cust_main>.
-m: Experimental multi-process mode uses the job queue for multi-process and/or multi-machine billing.
+ -r: Multi-process mode dry run option
+
-k: skip notify_flat_delay and vacuum
user: From the mapsecrets file - see config.html from the base documentation