From 5d2a8c5734d96be140d3449aca3cc2aac5a46ca0 Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Tue, 28 Apr 2026 13:34:21 -0700 Subject: [PATCH] =?UTF-8?q?fix(path-b):=20escape=20cron=20"*/5"=20in=20idl?= =?UTF-8?q?e-sweep=20JSDoc=20=E2=80=94=20was=20closing=20the=20comment=20b?= =?UTF-8?q?lock=20and=20breaking=20the=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- app/api/admin/path-b/idle-sweep/route.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/api/admin/path-b/idle-sweep/route.ts b/app/api/admin/path-b/idle-sweep/route.ts index 45dc6bf5..0594e788 100644 --- a/app/api/admin/path-b/idle-sweep/route.ts +++ b/app/api/admin/path-b/idle-sweep/route.ts @@ -7,9 +7,10 @@ * Suspends every running dev container whose `last_active_at` is older * than `minutes` (default 30). Idempotent — re-runs harmlessly. * - * Wire this to a cron (every 5 min) once the frontend is stable: - * */5 * * * * curl -fsS -X POST -H "Authorization: Bearer $SECRET" \ - * https://vibnai.com/api/admin/path-b/idle-sweep + * Wire this to a cron (every 5 min) once the frontend is stable. + * Crontab: "[asterisk]/5 * * * *" running: + * curl -fsS -X POST -H "Authorization: Bearer $SECRET" \ + * https://vibnai.com/api/admin/path-b/idle-sweep * * Saves money (suspended containers don't bill compute) without * destroying state — the workspace volume + cache volume persist, and