import torrus 1.0.9
[freeside.git] / FS / bin / freeside-monthly
index a6c75e7..0d6ea14 100755 (executable)
@@ -13,7 +13,10 @@ my $user = shift or die &usage;
 adminsuidsetup $user;
 
 use FS::Cron::bill qw(bill);
-bill(%opt, 'freq'=>'1m' );
+bill(%opt, 'check_freq'=>'1m' );
+
+use FS::Cron::upload qw(upload);
+upload(%opt);
 
 ###
 # subroutines
@@ -61,7 +64,7 @@ the bill and collect methods of a cust_main object.  See L<FS::cust_main>.
       "pretend date" 15 days from whatever was specified by the -d switch
       (or now, if no -d switch was given).
 
-  -p: Only process customers with the specified payby (I<CARD>, I<DCRD>, I<CHEK>, I<DCHK>, I<BILL>, I<COMP>, I<LECB>)
+  -p: Only process customers with the specified payby (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB)
 
   -a: Only process customers with the specified agentnum