定時清理磁盤

merge-requests/5/head
yiming 4 years ago
parent ccb509a47e
commit 9c3815ebac

@ -36,7 +36,9 @@ public class CronTab {
}
public static void checkFileTime(File dir,int days) {
if(!dir.exists()){
return;
}
if (dir.isDirectory()) {
String[] children = dir.list();
if(children.length == 0){

Loading…
Cancel
Save