From f4f32b47126256d718aaadd7be7d4c244e867e82 Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Thu, 25 Jun 2026 09:33:49 +0200 Subject: [PATCH] feat(stack): show update schedule in stack list Add an "Update schedule" column to `mw stack list` that displays the configured container stack update schedule (cron expression, with the timezone in parentheses when set). Stacks without a schedule show "no schedule". Co-Authored-By: Claude Opus 4.8 --- src/commands/stack/list.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/commands/stack/list.ts b/src/commands/stack/list.ts index bb6055d44..66c456c17 100644 --- a/src/commands/stack/list.ts +++ b/src/commands/stack/list.ts @@ -72,6 +72,17 @@ export class List extends ListBaseCommand { return stack.volumes.length + " volumes"; }, }, + updateSchedule: { + header: "Update schedule", + get(stack) { + if (!stack.updateSchedule) { + return "no schedule"; + } + + const { cron, timezone } = stack.updateSchedule; + return timezone ? `${cron} (${timezone})` : cron; + }, + }, }; } }