On rangeait les sessions ailleurs... sans jamais les purger à la Debian
Xals : a merger en 1.0
This commit is contained in:
parent
0ff2574ddd
commit
8f19084d2e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue