|
@@ -118,7 +118,7 @@ public class ViewController extends Controller {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public void testcdind() {
|
|
|
+ public void testcfind() {
|
|
|
try {
|
|
|
String dateString = "20230907";
|
|
|
String fileString = dateString.replace("0", "o");
|
|
@@ -133,6 +133,21 @@ public class ViewController extends Controller {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public void testcmove() {
|
|
|
+ try {
|
|
|
+ String dateString = "1.2.392.200036.9125.2.138612190166.20231012000329";
|
|
|
+ String fileString = dateString.replace("0", "o");
|
|
|
+ String execCmd = ExecUtil.execCmd("/zskk_system/other/cmove.sh " + dateString);
|
|
|
+ if (execCmd.contains("Connection refused")) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ } catch (Exception e) {
|
|
|
+ // TODO: handle exception
|
|
|
+ this.renderText(e.toString());
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
public void tempmatch() {
|
|
|
|
|
|
String fileName2String ="";
|