clearAllUsersEconomicCustomerDiscountsFromCache(); } catch (Exception $e) { // Previously a failure here would silently abort the cron minute. // Surface the breadcrumb so re-occurring failures (e.g. a broken // e-conomic API client) become visible in container logs. error_log('[cron-clear-econ-customer-discounts] failed: ' . $e->getMessage()); throw $e; } $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.");