On rangeait les sessions ailleurs... sans jamais les purger à la Debian

Xals : a merger en 1.0
This commit is contained in:
Alan Garcia 2011-09-30 14:09:03 +00:00
parent 0ff2574ddd
commit 8f19084d2e
1 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,8 @@
# Once a week at 7am, optimise the AlternC database # Once a week at 7am, optimise the AlternC database
0 1 * * 7 alterncpanel /usr/lib/alternc/alternc-dboptimize 0 1 * * 7 alterncpanel /usr/lib/alternc/alternc-dboptimize
# We change the session directory... debian's patch modified :
# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/alternc/sessions/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete