From e3dd31c479fb51c2a543ef3c0d7aff59bc44d6f4 Mon Sep 17 00:00:00 2001 From: jayce Date: Thu, 27 Sep 2007 18:24:33 +0000 Subject: Multi-System Billing: with a -m flag, daily will queue billing jobs instead of running each. freeside-queued will then pick it up, allowing multiple simultaneous jobs to run, as well as multiple machines. Also adds a 'Secure' column to the queue system, allowing for billing jobs to define themselves as 'secure only' in cases where a box might be using the encryption. This allows you to run secure only jobs (such as a collect) on boxes that can. --- FS/bin/freeside-daily | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FS/bin/freeside-daily') diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index f0ec9f041..fb855b748 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:n", \%opt); +getopts("p:a:d:vl:sy:nm", \%opt); my $user = shift or die &usage; adminsuidsetup $user; @@ -55,7 +55,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 ] user [ custnum custnum ... ] + freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] [ -l level ] [ -m ]user [ custnum custnum ... ] =head1 DESCRIPTION -- cgit v1.2.1