From e3e22e220f0c98dc60c36168505096cb3284c0ff Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 16 Sep 2008 16:42:09 +0200 Subject: [PATCH] Slightly change find call in cronjob --- debian/changelog | 6 ++++++ debian/cron.daily | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 08400c2..0926b9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap-cgi (0.3.21) unstable; urgency=low + + * Slightly change find call in cronjob. + + -- Peter Palfrader Tue, 16 Sep 2008 16:41:50 +0200 + userdir-ldap-cgi (0.3.20) unstable; urgency=low * Install a cron job to get rid of old sessions. diff --git a/debian/cron.daily b/debian/cron.daily index 5204a96..7097bee 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -3,5 +3,5 @@ set -e if [ -d /var/cache/userdir-ldap/web-cookies ]; then - find /var/cache/userdir-ldap/web-cookies -type f -mtime +1 -print0 -user www-data | xargs -0 --no-run-if-empty rm -f + find /var/cache/userdir-ldap/web-cookies -type f -mtime +1 -user www-data -print0 | xargs -0 --no-run-if-empty rm -f fi -- 2.20.1