feature(monitor): Scheduled tab UI + cron expression support#185
Open
jamby77 wants to merge 1 commit into
Open
feature(monitor): Scheduled tab UI + cron expression support#185jamby77 wants to merge 1 commit into
jamby77 wants to merge 1 commit into
Conversation
467dd68 to
3879ec1
Compare
69af567 to
b5b888f
Compare
3879ec1 to
4f51b75
Compare
b5b888f to
3ccd9e4
Compare
4f51b75 to
98938d0
Compare
3ccd9e4 to
043808e
Compare
98938d0 to
2e08240
Compare
Backend: - Add nullable cron_expression column to scheduled_captures (sqlite + postgres + memory). CHECK constraint enforces exactly one of intervalSeconds or cronExpression - Idempotent migrations bring PR 19 deployments forward - StoredScheduledCapture / ScheduledCapturePatch carry optional cronExpression - CaptureScheduler picks cron CronJob via SchedulerRegistry.addCronJob for cron rows; setInterval-backed timer for interval rows - POST /monitor/schedules accepts either intervalSeconds or cronExpression and rejects when both or neither are supplied Frontend: - New Scheduled tab on /monitor (gated by MONITOR_SCHEDULED_CAPTURES) with SchedulesTable showing cadence, duration, last fire info, and delete action - CreateScheduleModal: amount + unit interval picker by default; Advanced toggle reveals a cron expression field; both pass through monitorApi.createSchedule Tests: - capture-scheduler.spec: cron register/unregister, validation rejection for missing/conflicting/invalid specs - monitor.controller.spec: BadRequest when both interval and cron are missing; cronExpression forwarding to the scheduler
043808e to
0100f82
Compare
jamby77
added a commit
that referenced
this pull request
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR 20 of the MONITOR stack. Adds the Pro+ Scheduled tab on `/monitor` and brings cron support to the scheduler.
Backend
Frontend
Tests
How to verify
Requires `MONITOR_DEV_PREVIEW=true VITE_MONITOR_DEV_PREVIEW=true` and a Pro+ license loaded.
Test plan