#!/usr/bin/env php . */ define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..')); $helptext = <<find(); while ($feedsub->fetch()) { echo "{$feedsub->uri} ({$feedsub->sub_state})"; try { if ($feedsub->garbageCollect()) { echo " INACTIVE\n"; } else { echo " ACTIVE\n"; } } catch (Exception $e) { echo " ERROR: {$e->getMessage()}\n"; } }