#!/usr/bin/php PURGE_INTERVAL) { _debug("Purging old posts (random 30 feeds)..."); global_purge_old_posts($link, true, 30); $last_purge = time(); } */ // Call to the feed batch update function // or regenerate feedbrowser cache if (rand(0,100) > 50) { update_daemon_common($link); } else { $count = update_feedbrowser_cache($link); _debug("Finished, $count feeds processed."); } db_close($link); ?>