function install_fastindex() { Dir::remove(CACHES_PATH . 'dbcache/system/fastindex'); Dir::remove(CACHES_PATH . 'fastindex'); // Cronjobs::add(1440,'min',PLUGINS_PATH.'fastindex/index.php','fastindex_ping'); Cronjobs::add(PLUGINS_PATH . 'fastindex/index.php', 'fastindex_ping', 1440, 'min'); }
function install_autoupdate() { Dir::remove(CACHES_PATH . 'dbcache/plugin/autoupdate'); // Cronjobs::add(1440,'min',PLUGINS_PATH.'autoupdate/index.php','detect_update_system'); Cronjobs::add(PLUGINS_PATH . 'autoupdate/index.php', 'detect_update_system', 1440, 'min'); }