Comment 4 for bug 482720

Revision history for this message
tinodj (gjorgjioski) wrote :

please don't read previous comment.
It should be:

--
And the fix is:

find this file
/etc/cron.d/php5

This line ...

09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin -$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm

change to ...

09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm

Just change "-" to "+" after cmin.

--