Commit 34e8925e authored by 李丛阳's avatar 李丛阳

to do

parent 9c3d1a2b
...@@ -67,8 +67,11 @@ public class ClearLxcJob implements Job { ...@@ -67,8 +67,11 @@ public class ClearLxcJob implements Job {
return; return;
Date shutdown = lxc.getShutdownDate(); Date shutdown = lxc.getShutdownDate();
/*未到点*/ /*未到点*/
if(null != shutdown && shutdown.after(new Date())) if(null != shutdown && shutdown.after(new Date())) {
/*todo 重新定时-------关闭*/
return; return;
}
/*到点了*/ /*到点了*/
containerPath = global.getPHYSICAL_UPLOAD_SERVER_LOCATION() + File.separator + containerPath = global.getPHYSICAL_UPLOAD_SERVER_LOCATION() + File.separator +
global.getLxcDockerfilePath() + File.separator + lxc.getUserId() + File.separator; global.getLxcDockerfilePath() + File.separator + lxc.getUserId() + File.separator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment