mohan76 wrote:
Hello,
Run from shell
Code:
php /var/lib/asterisk/agi-bin/libs_a2billing/crontjobcurrencies_update_yahoo.php
alternative create a cron job.
Aha ....
condor:~ # php5 /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php
PHP Notice: Undefined index: debugshell in /var/lib/asterisk/agi-bin/libs_a2billing/Class.A2Billing.php on line 402
PHP Notice: Undefined variable: idconfig in /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php on line 19
PHP Notice: Undefined index: debugshell in /var/lib/asterisk/agi-bin/libs_a2billing/Class.A2Billing.php on line 402
--20:15:48--
http://finance.yahoo.com/d/quotes.csv?s ... ZWD=X&f=l1
=> `/tmp/currencies.cvs'
Resolving finance.yahoo.com... 206.190.56.229
Connecting to finance.yahoo.com|206.190.56.229|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
[ <=> ] 1,161 --.--K/s
20:15:50 (52.72 MB/s) - `/tmp/currencies.cvs' saved [1161]
PHP Notice: Undefined offset: 149 in /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php on line 74
PHP Fatal error: Call to undefined method ADORecordSet_empty::numRows() in /var/lib/asterisk/agi-bin/libs_a2billing/db_php_lib/Class.Table.php on line 48