Exemple #1
0
 def clean_old(self):
     cleaner = Cleaner(self.clean_path, self.clean_period, self.min_free)
     cleaner.clean_old()
     cleaner.free_up_disk_space()
Exemple #2
0
def circle(lf, mfs):
    cleaner = Cleaner(root=root, life_time=lf, min_free_space=mfs)
    cleaner.clean_old()