I have read this thread throughly.
I will generate the invoices every 25 of each month, every customer will be charged $ 0.50 for handling, plus the subscription fee.
So, I have configured a recurrent service for the handling: Period=every 30 days, Rule= Apply Service every Y days, the rest in blank.
When must the crons be executed? and which?
Code:
0 * * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_alarm.php
0 * * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_alarm.php
0 14 * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_batch_process.php
0 14 * * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_bill_diduse.php
0 14 15 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_check_account.php
0 14 15 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_invoice_cront.php
0 14 15 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_subscription_fee.php
0 14 15 * * php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php
I guess the the a2billing_subscription_fee.php must run on 25 of each month. but, what is the function of these jobs?:
a2billing_alarm.php
a2billing_batch_process.php
a2billing_bill_diduse.php
a2billing_check_account.php
a2billing_invoice_cront.php
Thanks for your help!
Christancho