X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-monthly;h=0d6ea14a2c504ebad24756bc5f4ec6001ec633de;hb=aaf8baf3662e16e9414de236a39f8801a8c41b01;hp=a6c75e715499e974ee38d80299f8e2243400ce7a;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/FS/bin/freeside-monthly b/FS/bin/freeside-monthly index a6c75e715..0d6ea14a2 100755 --- a/FS/bin/freeside-monthly +++ b/FS/bin/freeside-monthly @@ -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. "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, I, I, I, I, I, I) + -p: Only process customers with the specified payby (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB) -a: Only process customers with the specified agentnum