[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] On usper we look for files older than 5 minutes, not 15



---
 scripts/debian/moveftp.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/debian/moveftp.sh b/scripts/debian/moveftp.sh
index c9a6172..b1cd3b0 100755
--- a/scripts/debian/moveftp.sh
+++ b/scripts/debian/moveftp.sh
@@ -10,8 +10,8 @@ HOST=$(hostname -s)
 if [[ ${HOST} == coccia ]]; then
     find ${FTPDIR} -type f -mmin +15 -print0 -exec mv --no-clobber --target-directory=${SSHDIR} -- "{}" +
 elif [[ ${HOST} == usper ]]; then
-    find ${FTPDIR} -maxdepth 1 -type f -mmin +15 -print0 -exec mv --no-clobber --target-directory=${SSHDIR} -- "{}" +
+    find ${FTPDIR} -maxdepth 1 -type f -mmin +5 -print0 -exec mv --no-clobber --target-directory=${SSHDIR} -- "{}" +
     for defdir in {1..15}; do
-        find ${FTPDIR}/DELAYED/${defdir}-day -maxdepth 1 -type f -mmin +15 -print0 -exec mv --no-clobber --target-directory=${SSHDIR}/DELAYED/${defdir}-day -- "{}" +
+        find ${FTPDIR}/DELAYED/${defdir}-day -maxdepth 1 -type f -mmin +5 -print0 -exec mv --no-clobber --target-directory=${SSHDIR}/DELAYED/${defdir}-day -- "{}" +
     done
 fi
-- 
2.1.4


Reply to: