[freeside-commits] freeside/FS/bin freeside-daily, 1.24, 1.25 freeside-monthly, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Wed Aug 1 15:24:52 PDT 2007


Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv23435/FS/bin

Modified Files:
	freeside-daily freeside-monthly 
Log Message:
event refactor, landing on HEAD!

Index: freeside-daily
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-daily,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- freeside-daily	9 Jun 2007 00:43:14 -0000	1.24
+++ freeside-daily	1 Aug 2007 22:24:50 -0000	1.25
@@ -6,7 +6,7 @@
 
 &untaint_argv;	#what it sounds like  (eww)
 use vars qw(%opt);
-getopts("p:a:d:vsy:n", \%opt);
+getopts("p:a:d:vl:sy:n", \%opt);
 
 my $user = shift or die &usage;
 adminsuidsetup $user;
@@ -14,9 +14,14 @@
 use FS::Cron::bill qw(bill);
 bill(%opt);
 
+#what to do about the below when using -m?  that is the question.
+
 use FS::Cron::notify qw(notify_flat_delay);
 notify_flat_delay(%opt);
 
+use FS::Cron::expire_user_pref qw(expire_user_pref);
+expire_user_pref();
+
 use FS::Cron::vacuum qw(vacuum);
 vacuum();
 
@@ -50,7 +55,7 @@
 
 =head1 SYNOPSIS
 
-  freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
+  freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] [ -l level ] user [ custnum custnum ... ]
 
 =head1 DESCRIPTION
 
@@ -80,6 +85,10 @@
 
   -v: enable debugging
 
+  -l: debugging level
+
+  -m: Experimental multi-process mode uses the job queue for multi-process and/or multi-machine billing.
+
 user: From the mapsecrets file - see config.html from the base documentation
 
 custnum: if one or more customer numbers are specified, only bills those

Index: freeside-monthly
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-monthly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- freeside-monthly	1 Feb 2006 23:13:48 -0000	1.1
+++ freeside-monthly	1 Aug 2007 22:24:50 -0000	1.2
@@ -13,7 +13,7 @@
 adminsuidsetup $user;
 
 use FS::Cron::bill qw(bill);
-bill(%opt, 'freq'=>'1m' );
+bill(%opt, 'check_freq'=>'1m' );
 
 ###
 # subroutines



More information about the freeside-commits mailing list