quak backup: print the date and time a run starts and finishes (closes #245)
check / check (push) Waiting to run

Adds a `Started at` line after `Starting backup...` and a `Finished at`
line after `--- Backup complete ---`, in local time with the UTC offset.
No existing line changes. The clock comes in through `CliContext.now`.

The README's crontab now pipes the output to `logger`, which adds its own
time to each line; appending to a file remains as the alternative.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-19 06:48:42 +00:00
1 parent 2492946e9d
commit ab236dc162
6 files changed
+121 -16

No files matched your search

+1
View File
@@ -319,6 +319,7 @@ const context = (ente: FakeEnte): CliContext => {
promptSecret: async () => {
throw new Error("prompt not expected");
},
now: () => new Date(Date.UTC(2026, 10, 11, 2, 30)),
};
};