Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Execute code after session expireby roboticus (Chancellor) |
on Apr 24, 2014 at 11:04 UTC ( [id://1083563]=note: print w/replies, xml ) | Need Help?? |
OK, then when you create your text files, log them into a database along with their expiration date. Then have a cron job wake up every five minutes, and run a script to delete all files whose expiration date has passed. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|