config->enabled->isTrue() && $xlvask->config->synchronization_enabled->isTrue()) { $xlvask->getTasks()->runCronTasks(); } } catch (Exception $e) { // This is automatically running, but an XL Vask module failure here // would otherwise stop the entire module from being synchronized at // all (usage logs, vehicles, etc.), so surface the breadcrumb. error_log('[cron-run-xlvask-module] runCronTasks failed: ' . $e->getMessage()); } $end = microtime(true); //$slack = new \classes\slack(); //$slack->send_message("The booking sync script has finished. It took " . round($end - $start, 2) . " seconds to run.");