tilde.news/script/expire_page_cache

5 lines
150 B
Bash
Executable File

#!/bin/sh
find /srv/lobsters/lobsters/tmp/cache/ -type f -not -mmin 2 -delete
find /srv/lobsters/lobsters/public/cache/ -type f -not -mmin 2 -delete