|
@@ -1,5 +1,6 @@
|
|
|
package com.uas.erp.schedular;
|
|
package com.uas.erp.schedular;
|
|
|
|
|
|
|
|
|
|
+import com.uas.erp.schedular.support.BackupDBFileUtils;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
|
|
|
|
|
@@ -10,6 +11,7 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
|
public class UasSchedulingApplication {
|
|
public class UasSchedulingApplication {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
|
|
|
+ BackupDBFileUtils.init();
|
|
|
new SpringApplicationBuilder(UasSchedulingApplication.class).web(true).run(args);
|
|
new SpringApplicationBuilder(UasSchedulingApplication.class).web(true).run(args);
|
|
|
}
|
|
}
|
|
|
|
|
|