fix(contorller): env corrections on where to look for the file when running
This commit is contained in:
@@ -180,22 +180,22 @@
|
||||
{
|
||||
name: "Houston",
|
||||
server: "USHOU1VMS006",
|
||||
location: "E$\\LST\\LST",
|
||||
location: "E$\\LST",
|
||||
},
|
||||
{
|
||||
name: "Sherman",
|
||||
server: "USSHE1VMS006",
|
||||
location: "E$\\LST\\LST",
|
||||
location: "E$\\LST",
|
||||
},
|
||||
{
|
||||
name: "West Bend",
|
||||
server: "USWEB1VMS006",
|
||||
location: "E$\\LST\\LST",
|
||||
location: "E$\\LST",
|
||||
},
|
||||
{
|
||||
name: "Jerfferson City",
|
||||
server: "USJCI1VMS006",
|
||||
location: "E$\\LST\\LST",
|
||||
location: "E$\\LST",
|
||||
},
|
||||
];
|
||||
|
||||
@@ -324,9 +324,7 @@
|
||||
});
|
||||
logMessage(
|
||||
"info",
|
||||
`Copying to ${
|
||||
srv.name
|
||||
} (drive ${srv.drive.toUpperCase()})`
|
||||
`Copying to ${srv.name} (location ${srv.location})`
|
||||
);
|
||||
});
|
||||
|
||||
@@ -364,15 +362,13 @@
|
||||
currentServer = copyQueue.shift();
|
||||
logMessage(
|
||||
"info",
|
||||
`🚀 Copying to ${
|
||||
currentServer.name
|
||||
} (drive ${currentServer.drive.toUpperCase()})`
|
||||
`Copying to ${currentServer.name} (location ${currentServer.location})`
|
||||
);
|
||||
|
||||
socket.emit("update", {
|
||||
action: "copy",
|
||||
target: currentServer.name,
|
||||
drive: currentServer.drive,
|
||||
target: currentServer.server,
|
||||
location: currentServer.location,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -381,7 +377,8 @@
|
||||
|
||||
// Only check queue progress if we're in All mode and have a currentServer
|
||||
if (isRunningAll && currentServer) {
|
||||
const expected = `✅ Copy to ${currentServer.name} successful`;
|
||||
//const expected = `✅ Copy to ${currentServer.name} successful`;
|
||||
const expected = "done";
|
||||
|
||||
if (msg.includes(expected)) {
|
||||
logMessage(
|
||||
|
||||
Reference in New Issue
Block a user