Gossamer Forum
Home : General : Perl Programming :

Checking for inactive...

Quote Reply
Checking for inactive...
How would I go about accomplishing this?
I have multiple folders in an account which are created when a user signs up for a service. When a user stops using this service, they just take up space. How would I go about checking if they have been inactive since so-and-so a date and them deleting them?

For example - here's a snipplet of the list
Name: Date:
2918 9/1/00
2917 9/1/00
2916 9/1/00
2915 6/30/00
2914 9/1/00

What I'd like to be able to do is set a date in which any folders under the cutoff are deleted.

Thanks in advance,
Joe