mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-16 21:58:21 +01:00
parent
191e5b0493
commit
6eaf0eaa56
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,7 +6,6 @@ data/
|
|||||||
*.pydevproject
|
*.pydevproject
|
||||||
.project
|
.project
|
||||||
.metadata
|
.metadata
|
||||||
bin/
|
|
||||||
tmp/
|
tmp/
|
||||||
*.tmp
|
*.tmp
|
||||||
*.bak
|
*.bak
|
||||||
|
14
bin/cache-clear
Executable file
14
bin/cache-clear
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove all items from the cache
|
||||||
|
*/
|
||||||
|
|
||||||
|
require __DIR__ . '/../lib/bootstrap.php';
|
||||||
|
|
||||||
|
$rssBridge = new RssBridge();
|
||||||
|
|
||||||
|
$cache = RssBridge::getCache();
|
||||||
|
|
||||||
|
$cache->clear();
|
14
bin/cache-prune
Executable file
14
bin/cache-prune
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/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();
|
Loading…
x
Reference in New Issue
Block a user