Re: deleting old ascii player files

From: Brandon Allen (crio49@HOTMAIL.COM)
Date: 12/27/02

>how would i go about making a auto function to delete player files
>over 60 days old that are not used?

what i do is i add another tagin the file outputing when
the last time they were written to disk i every night
at midnight check it with difftime ( i write the string
to the file in the EXACT format difftime wants) and then
if difftime tells me it is over a number i set in conf
i delete the file.

simple clean

   | FAQ: |
   | Archives: |
   | Newbie List:   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT