keep tmp dir clean

Hi,
I have lots of users uploading files on my server, and php creates tmp files for them on /tmp.
The problem is that some users give up on their uploads (I think) and the file in /tmp is not moved/deleted for some time.

Is there a script I can run every once in a while to remove only the inactive files created by php on /tmp?

Also, how can I raise the amount of space given to that folder?

Thanks in advance

 

 

 

 

Top