]> jfr.im git - uguu.git/blobdiff - includes/check.sh
Update check.sh
[uguu.git] / includes / check.sh
index 9eb25f4b7eb83c0117c10df492f107ac4a7766bd..6619ff9a8811bf66a808933a429e2c6e6d14a51a 100644 (file)
@@ -1,2 +1,2 @@
 #! /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 {} \;