![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
Table of Contents
billmax-admin must be run as the UNIX "root" superuser. Please become "root" before continuing.
Use billmax-admin to stop and start the Daemons related to BillMax. Please see /usr/local/billmax/local/billmax.conf for a complete description about which daemons billmax-admin starts and stops. If using either the BillMax supplied mysqld Daemon or the BillMax supplied httpd Daemon, execute "/usr/local/billmax/bin/billmax-admin start". As delivered, this will start the appropriate Billmax supplied Daemon(s). At this point, BillMax may be accessed via a web browser.
In order for BillMax to do daily processing, billmax-admin must be run daily. Edit the appropriate crontab file.
For RedHat:
Make a backup copy of /etc/crontab.
Edit the /etc/crontab and add the following line:
0 0 * * * /usr/local/billmax/bin/billmax-admin nightly
For FreeBSD:
Make a backup copy of /etc/crontab.
Edit the /etc/crontab and add the following line:
0 0 * * * root /usr/local/billmax/bin/billmax-admin nightly
For Solaris:
Execute "crontab -l > billmax.crontab".
Edit billmax.crontab and add the following line:
0 0 * * * /usr/local/billmax/bin/billmax-admin nightly
Execute "crontab billmax.crontab".
The result of these steps is that "billmax-admin nightly" will be executed daily at midnight. Please see crontab(8) for more information about the crontab entries.
Please review /usr/local/billmax/local/billmax.conf. This file controls what processing will occur when "billmax-admin nightly" is executed by cron(5).
![]() |
Important |
|---|---|
As delivered, executing "billmax-admin |
When the BillMax server is rebooted, it is advantageous that the BillMax Daemons be started automatically. In order to do the following, you will need to gain access to the UNIX superuser account.
For RedHat, execute the following:
cp /usr/local/billmax/local/billmax.RedHat /etc/init.d
chkconfig --add billmax
chkconfig billmax on
For FreeBSD, execute the following:
cp /usr/local/billmax/local/billmax.FreeBSD /usr/local/etc/rc.d/billmax.sh
chmod +x /usr/local/etc/rc.d/billmax.sh
For Solaris, execute the following:
cp /usr/local/billmax/local/billmax.Solaris /etc/init.d/billmax
cd /etc/rc0.d
ln -s /etc/init.d/billmax K99billmax
cd /etc/rc1.d
ln -s /etc/init.d/billmax K99billmax
cd /etc/rcS.d
ln -s /etc/init.d/billmax K99billmax
cd /etc/rc2.d
ln -s /etc/init.d/billmax S99billmax