public static function checkAndCollect() { try { if (date('Gi') >= 500 && date('Gi') < 505) { history::archive(); } } catch (Exception $e) { log::add('history', 'error', 'history::archive : ' . $e->getMessage()); } try { network::cron(); } catch (Exception $e) { log::add('network', 'error', 'network::cron : ' . $e->getMessage()); } try { eqLogic::checkAlive(); connection::cron(); if (config::byKey('jeeNetwork::mode') != 'slave') { jeeNetwork::pull(); } } catch (Exception $e) { } try { cmd::collect(); } catch (Exception $e) { log::add('cmd', 'error', 'cmd::collect : ' . $e->getMessage()); } try { history::historize(); } catch (Exception $e) { log::add('history', 'error', 'history::archive : ' . $e->getMessage()); } }