Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tmp file cleanup code

  • Loading branch information...
commit c697514d8f7e0d2f18b07acc4b97978a6b1a4771 1 parent 2f6a3fa
@mangtronix mangtronix authored
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 {} \;');
+ }
+ */
}
Please sign in to comment.
Something went wrong with that request. Please try again.