From: Joe Z. <joe...@za...> - 2005-04-20 17:34:13
|
Joe Zacky wrote: > James W. Beauchamp wrote: > >> Hi all. I'm running 0.6.2 BOBS and I am having a problem with files >> not being deleted that are over the retention time (30 days) that I >> specified in the share setup. > > If you're using the latest cvs version of bobs, you can look in > bobs.log. for " make_bak_dir mkdir "<some file name>" failed: File exists Also, my cron.daily process sends any output as email to root. Messages from bobs cleanup are shown there. This section of code in class_cleanup.php does it: if(unlink($fullpath) == TRUE){ // unlink file verbosely print("Removed $fullpath\n"); for($i = 0; $i<6; $i++) // Delete keys '0' - '5' dba_delete($val + $i, $handle); } else { print("Unable to remove $fullpath\n"); } } |