my $user = shift or die &usage;
adminsuidsetup $user;
+die "The -p option has been removed in version 4 -- customers no longer have ".
+ "a single, specific payment type"
+ if $opt{'p'};
+
use FS::Cron::bill qw(bill);
bill(%opt, 'check_freq'=>'1m' );
=head1 SYNOPSIS
- freeside-monthly [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
+ freeside-monthly [ -d 'date' ] [ -y days ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
=head1 DESCRIPTION
"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 (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB)
+ -p: Deprecated, will produce a fatal error (formerly was: Only process customers with the specified payby (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB))
-a: Only process customers with the specified agentnum