取消每日音乐扫描、oss上传、ups自动关机任务

This commit is contained in:
Yutousama 2023-03-02 23:28:21 +08:00
parent f3e9feb8fd
commit f94b4f130c

View File

@ -36,7 +36,7 @@ public class ApplicationInit implements ApplicationRunner {
if (time.equals(oldTime)) {
return;
}
float power = Tools.getSystemUPSPower();
/*float power = Tools.getSystemUPSPower();
if (power > 0) {
if (power == 100) {
AppTools.exec("wakeonlan 00:F0:D2:D0:6B:B5", null, false, true);
@ -53,14 +53,14 @@ public class ApplicationInit implements ApplicationRunner {
Log.i("UPS电池低于30%,即将关机");
QQBotManager.getInstance().sendMessage("UPS电池低于30%,即将关机");
}
}
}*/
oldTime = time;
switch (time) {
case "00:00":
musicTools.scanMusic();
//musicTools.scanMusic();
break;
case "01:00":
DepotManager.scan();
//DepotManager.scan();
break;
}