mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-14 07:55:18 +00:00
fix: renames
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
cleanUpDockerBuilder,
|
cleanupAll,
|
||||||
cleanUpSystemPrune,
|
|
||||||
cleanUpUnusedImages,
|
|
||||||
findBackupById,
|
findBackupById,
|
||||||
findScheduleById,
|
findScheduleById,
|
||||||
findServerById,
|
findServerById,
|
||||||
@@ -91,9 +89,7 @@ export const runJobs = async (job: QueueJob) => {
|
|||||||
logger.info("Server is inactive");
|
logger.info("Server is inactive");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await cleanUpUnusedImages(serverId);
|
await cleanupAll(serverId);
|
||||||
await cleanUpDockerBuilder(serverId);
|
|
||||||
await cleanUpSystemPrune(serverId);
|
|
||||||
} else if (job.type === "schedule") {
|
} else if (job.type === "schedule") {
|
||||||
const { scheduleId } = job;
|
const { scheduleId } = job;
|
||||||
const schedule = await findScheduleById(scheduleId);
|
const schedule = await findScheduleById(scheduleId);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export const initCronJobs = async () => {
|
|||||||
`SERVER-BACKUP[${new Date().toLocaleString()}] Running Cleanup ${name}`,
|
`SERVER-BACKUP[${new Date().toLocaleString()}] Running Cleanup ${name}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
await cleanupImages(serverId);
|
await cleanupAll(serverId);
|
||||||
|
|
||||||
await sendDockerCleanupNotifications(
|
await sendDockerCleanupNotifications(
|
||||||
admin.user.id,
|
admin.user.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user