#!/bin/bash

#if [ -x /usr/local/bin/maxlifetime.sh ] && [ -d /tmp/session ] ; then
#find /tmp/session/ -type f -mmin +$(/usr/local/bin/maxlifetime.sh) -print0 | xargs -r -0 rm
#fi

if [ -d /tmp/session ] ; then
	find /tmp/session/ -type f -mmin +10 -print0 | xargs -r -0 rm
fi
 