Commit 8f19084d authored by Alan Garcia's avatar Alan Garcia

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

Xals : a merger en 1.0
parent 0ff2574d
......@@ -17,3 +17,8 @@
# Once a week at 7am, optimise the AlternC database
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment