Skip to content
Browse files

Tmp file cleanup code

  • Loading branch information...
1 parent 2f6a3fa commit c697514d8f7e0d2f18b07acc4b97978a6b1a4771 @mangtronix mangtronix committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 BookReaderIA/datanode/BookReaderImages.inc.php
View
7 BookReaderIA/datanode/BookReaderImages.inc.php
@@ -1122,6 +1122,13 @@ function cleanup() {
}
$this->tempFiles = array();
}
+
+ /*
+ function cleanTmp() {
+ system('find /var/tmp/fast -name "BookReaderImages*" -cmin +10 -exec rm {} \;');
+ system('find /var/tmp/fast/bookreader -name "BookReaderImages*" -cmin +10 -exec rm {} \;');
+ }
+ */
}

0 comments on commit c697514

Please sign in to comment.
Something went wrong with that request. Please try again.