1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 06:08:27 +01:00
php-rss-bridge/bin/cache-prune
2024-01-17 20:10:32 +01:00

15 lines
203 B
PHP
Executable File

#!/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();