mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-24 18:36:59 +03:00
parent
191e5b0493
commit
6eaf0eaa56
3 changed files with 28 additions and 1 deletions
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…
Reference in a new issue