public function refactorNodes() { /* each 2 minutes */ if (date('i') % 2 == 0) { Model::Core()->refactor('nodes'); } }