From: Peter Palfrader Date: Tue, 16 Sep 2008 14:42:09 +0000 (+0200) Subject: Slightly change find call in cronjob X-Git-Tag: release-0.3.33~49 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=e3e22e220f0c98dc60c36168505096cb3284c0ff Slightly change find call in cronjob --- 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