Cleanup php session files ========================= Public domain ******************************************************************************** ### crontab -e # Cleanup php session files older than 24 minutes */5 * * * * root cd /tmp; find -cmin +24 -name "sess_*" | xargs rm #*/5 * * * * root find /tmp -cmin +24 -maxdepth 1 -type f -exec rm {} \; ******************************************************************************** _BY: Pejman Moghadam_ _TAG: cron, php_ _DATE: 2012-05-29 23:37:31_