MCPcopy
hub / github.com/Dokploy/dokploy / getLogCleanupStatus

Function getLogCleanupStatus

packages/server/src/utils/access-log/handler.ts:71–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69};
70
71export const getLogCleanupStatus = async (): Promise<{
72 enabled: boolean;
73 cronExpression: string | null;
74}> => {
75 const settings = await getWebServerSettings();
76 const cronExpression = settings?.logCleanupCron ?? null;
77 return {
78 enabled: cronExpression !== null,
79 cronExpression,
80 };
81};

Callers 1

settings.tsFile · 0.90

Calls 1

getWebServerSettingsFunction · 0.90

Tested by

no test coverage detected