rss-bridge/bin/cache-prune

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
203 B
Text
Raw Normal View History

#!/usr/bin/env php
<?php
/**
* Remove all expired items from the cache
*/
require __DIR__ . '/../lib/bootstrap.php';
$rssBridge = new RssBridge();
$cache = RssBridge::getCache();
$cache->prune();