WIP: schedulers..
This commit is contained in:
@@ -71,11 +71,14 @@ $job_strings = array(
|
||||
|
||||
function importApiloInvoices() {
|
||||
try {
|
||||
$GLOBALS['log']->info('----- Importing invoices from Apilo, _addJobsHereReturn, starting');
|
||||
$GLOBALS['db']->query("USE preDb_0dcc87940d3655fa574b253df04ca1c3;");
|
||||
require_once('modules/EcmInvoiceOuts/BimIT-eCommerceInvoices/importApiloInvoices.php');
|
||||
importInvoices();
|
||||
$res = importInvoices();
|
||||
$GLOBALS['log']->info('----- Importing invoices from Apilo, _addJobsHereReturn', $res);
|
||||
return true;
|
||||
} catch (Exception $e) {
|
||||
$GLOBALS['log']->info('----- Importing invoices from Apilo, _addJobsHereReturn, error catched', $e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user