View Single Post
  #3  
Old 17th April 2010, 18:56
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

My php set up has this cron job to delete sessions every 30 minutes. In /etc/cron.d/php5 file...

Code:
0,30 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm
You may want to change php5 to php in your setup.
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote