mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 03:02:56 +00:00
Update packages/server/src/utils/schedules/utils.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent
dd542994a4
commit
57fae73853
@@ -118,7 +118,8 @@ export const runCommand = async (scheduleId: string) => {
|
|||||||
"This feature is not available in the cloud version.",
|
"This feature is not available in the cloud version.",
|
||||||
);
|
);
|
||||||
writeStream.end();
|
writeStream.end();
|
||||||
return { ...deployment, status: "running" as const };
|
await updateDeploymentStatus(deployment.deploymentId, "error");
|
||||||
|
return { ...deployment, status: "error" as const };
|
||||||
}
|
}
|
||||||
writeStream.write(
|
writeStream.write(
|
||||||
`docker exec ${containerId} ${shellType} -c ${command}\n`,
|
`docker exec ${containerId} ${shellType} -c ${command}\n`,
|
||||||
|
|||||||
Reference in New Issue
Block a user