![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
send_statements — Send Statements to customers
/usr/local/billmax/bin/send_statements [-n] [-s] [-b NumberOfStatements] [-d date] [-F] {[-e] | [-f] | [-p]} [-E] [-o] [-g] [-P printer] [-h] [-t]
Send Statements to customers. In reality, this program simply executes processes that may or may not actually send Statements to a customers.
Using the value in /usr/local/billmax/logs/send_statements.state, send_statements looks in /usr/local/billmax/statements for directories that are named with a date younger than the value in /usr/local/billmax/logs/send_statements.state.
It is recommended that if non-monthly based statement processing is to be done, that the -g be specified.
send_statements using the following processes for the following values for account.invmethod:
| Invmethod | Process | Notes |
|---|---|---|
| globalconf.pathsendmail | Emails messages are queued up, not sent immediately. Assuming that globalconf.pathsendmail references sendmail and that sendmail is running as a Daemon, the messages will be sent the next time the Daemon processes the queue. | |
| POSTAL | globalconf.pathlpr | May generate a single printjob, a print job for each Statement, or multiple print jobs containing groups of Statements |
| FAX | globalconf.pathlpr | Without customization, the only difference between invmethods "FAX" and "POSTAL" is the burst page. |
-nDo not print a burst page.
-sIf creating a print job, process all Statements as a single print job.
-b NumberOfStatements
Group NumberOfStatements Statements together into multiple print jobs.
-d date
Process the Statements for date.
-FProcess all files, even those that may have been previously processed.
-eProcess email Statements.
-EProcess Statements through DataBill™.
-fProcess fax Statements.
-pProcess postal Statements.
-oProcess only the day after that specified in /usr/local/billmax/logs/send_statements.state.
-g
Process Statements through the current date. The default is to process the Statements through yesterday. If specified, make_statements should also be executed with the -g.
-P printerSpecify the printer for FAX and POSTAL Statements.
-hShow help for this program.
-tDry run. Prints out the commands that will be executed.