billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Name

closeofday — Run daily BillMax Account management processes.

Synopsis

/usr/local/billmax/bin/closeofday [-s] [-o] [-t task] [-l taskfile] [-h]

DESCRIPTION

Runs daily BillMax Account management processes on a day-by-day basis. Ordinarily this command is run with no flags, but you can specify an individual task by using the -t option. The -s option shows a list of the tasks.

The dates over which closeofday processes is from the day after the date stored in /usr/local/billmax/logs/closeofday.state to the current date. /usr/local/billmax/logs/closeofday.state contains the date of the last successful closeofday run. If no /usr/local/billmax/logs/closeofday.state is found, then closeofday processes the current date.

OPTIONS

-s

List the available tasks that may be specified when executing closeofday.

-o

Regardless of the date, run closeofday for one day only.

-t task

Specify a single task to do. The list of available tasks (in no particular order) are:

  • SuspendExpiredServdefs

  • ResetUsageCounters

  • ResetOverDueCounters

  • WarnOverDueAccounts

  • SuspendOverDueAccounts

  • ReopenOverDueAccounts

  • ReopenOverUsageServices

  • ChargeForUsage

  • IssueReferralCredits

  • UpdateStaticBalances

  • UpdateStaticPastDueBalances

  • WarnServiceExpiration

  • PurgeSamples

  • AssessLateFees

  • ResetGraceDates

  • WarnGraceDate

  • SendUsageReports

  • InvoiceServices

  • AssessHardcopyBillingFees

  • WarnCCexpiration

  • SuspendExpiredAccounts

  • CloseSuspendedAccounts

  • SuspendExpiredUsers

  • CloseSuspendedUsers

  • SuspendExpiredServices

  • CloseSuspendedServices

  • NoticeLongSuspendAccounts

  • NoticeLongSuspendUsers

  • NoticeLongSuspendServices

  • NoticeAccountLocks

  • NoticeRefundsDue

  • NoticeLicenseExpiration

  • ChangeTo

  • CollectStats

-l taskfile

Do the tasks listed in taskfile.

-h

Show help for this program.

RETURN VALUE

System value EX_OK for success.

NOTES

NONE

SEE ALSO

NONE


Document Revision A for BillMax 2.2.0   -   Copyright © 1997-2006 The iSpark Group, Inc.

All rights reserved. No part of this documentation may be reproduced or transmitted in any fashion without written permission by The iSpark Group, Inc. This documentation is for the sole use of licensees of the BillMax billing software created by The iSpark Group, Inc. Making the documentation available to a non-licensee of BillMax without written permission of The iSpark Group, Inc. is a violation of the use of this documentation.

While precautions have been taken in the preparation of this documentation, The iSpark Group, Inc. assumes neither liability nor responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

All terms mentioned that are known to be trademarks have been appropriately capitalized. Use of the a trademark does not affect the validity of any trademark or service mark.

Links to third-party Web sites are provided for convenience. The iSpark Group, Inc. is not responsible for any content contained in the third-party Web sites.

Comments about this documentation may be sent to doc@billmax.com