asterisk2billing.org
http://forum.asterisk2billing.org/

Invoices updates
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=12538
Page 1 of 1

Author:  Vince-0 [ Tue Jun 28, 2016 10:29 am ]
Post subject:  Invoices updates

Hi A2B!

I messed some PHP packages up and got php posix errors so my batch billing jobs didnt complete as per cronjob:
0 6 1 * * php /usr/src/a2billing/Cronjobs/a2billing_subscription_fee.php
0 * * * * php /usr/src/a2billing/Cronjobs/a2billing_notify_account.php
0 2 * * * php /usr/src/a2billing/Cronjobs/a2billing_bill_diduse.php
0 12 * * * php /usr/src/a2billing/Cronjobs/a2billing_batch_process.php
0 6 26 * * php /usr/src/a2billing/Cronjobs/a2billing_batch_billing.php
*/5 * * * * php /usr/src/a2billing/Cronjobs/a2billing_batch_autodialer.php
0 * * * * php /usr/src/a2billing/Cronjobs/a2billing_alarm.php

I've since fixed this by downgrading php and run the cronjobs manually without error.
My problem is, the Invoices report doesn't update and still shows last months invoices.

My cront_a2b_invoice.log shows no errors:
[28/06/2016 10:59:45]:[a2billing_batch_billing.php line:84[#### CRONT BILLING BEGIN ####]]
[28/06/2016 10:59:45]:[a2billing_batch_billing.php line:113[Invoice Billing Service analyze cards on which to apply billing]]
[28/06/2016 10:59:45]:[a2billing_batch_billing.php line:380------- CRONT BILLING END -------]

I'm running A2B 1.9.4 (Cuprum) on this particular box and have trouble updating it because of php and centos5 :-(
Please advise on how I can get these invoices update.

Author:  Vince-0 [ Fri Jul 01, 2016 10:55 am ]
Post subject:  Re: Invoices updates

So I look at the invoices report for this month today and there's updated invoices dated 2016-07-01 10:35:28.

Looks like it updated but I don't know why at that time. Might be a date/time problem.
Anyways it's usable now.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/