public function run() { $acts = self::getActs(); $cache = Vera_Cache::getInstance(); foreach ($acts as $act) { $key = 'rollcall_' . $act['md5'] . '_list'; if ($list = $cache->get($key)) { Library_File::write($act['md5'], $list); } } return true; }