forked from gitbot/uguu
commit
04022976c1
@ -1,2 +1,2 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mtime +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;
|
find $(grep -oP '"CONFIG_FILES_PATH", "\K(.*)(?=")' config.php) -mmin +$(grep -oP '"CONFIG_MAX_RETENTION_TIME", "\K(.*)(?=")' config.php) -exec rm -f {} \;
|
||||||
|
Loading…
Reference in New Issue
Block a user