-# $result = db_query($link, "SELECT * FROM ttrss_scheduled_updates ORDER BY id");
-# while ($line = db_fetch_assoc($result)) {
-# print "Scheduled feed update: " . $line["feed_id"] . ", UID: " .
-# $line["owner_uid"] . "\n";
-# }
-
- // Process all other feeds using last_updated and interval parameters
-
-// $random_qpart = sql_random_function();
-
-/*
- ttrss_entries.date_entered < NOW() - INTERVAL '$purge_interval days'");
- }
-
- $rows = pg_affected_rows($result);
-
+ if (rand(0,100) > 50) {
+ update_daemon_common($link);