getLastExecutionTime()}.\e[0m"; } $service->runCrons($interval); } catch (Exception $exception) { throw new Exception($exception->getMessage(), $exception->getCode(), $exception); } finally { if (Environment::isCLI()) { echo "\e[32mSuccessfully ran the cron jobs.\e[0m"; } }