feat: add cron engine with TTL triggers, Redis CLI, and 6-field cron support#1
Open
nirmash wants to merge 8 commits intoembr-devs:mainfrom
Open
feat: add cron engine with TTL triggers, Redis CLI, and 6-field cron support#1nirmash wants to merge 8 commits intoembr-devs:mainfrom
nirmash wants to merge 8 commits intoembr-devs:mainfrom
Conversation
- Cron engine uses Valkey keyspace notifications to fire jobs on key expiry - Dedicated Redis subscriber connection for __keyevent@0__:expired events - 5-field cron parser converts expressions to seconds-until-next-fire TTLs - Jobs support both HTTP requests and shell script execution - Job definitions persist in Redis hashes, restored on server restart - Interactive Redis CLI panel with command history and safe command filtering - New UI panels: Cron Engine (create/pause/delete jobs, view logs) and Redis CLI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…uration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
amahmoud57
approved these changes
Apr 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
Adds three major features to PulseBoard:
Cron Engine (TTL Triggers)
A cron job scheduler that uses Valkey key expiration as the trigger mechanism — no external scheduler needed.
ioredissubscriber connection for__keyevent@0__:expiredevents6-Field Cron with Seconds
Extended cron parser supports both formats:
min hr dom mon dowsec min hr dom mon dowEnables sub-minute scheduling (e.g.,
* * * * * *= every second).Interactive Redis CLI
Terminal-style Redis client in the browser:
CLEARto reset outputOther Changes
managedinembr.yamlscripts/log-datetime.shsample script for cron testingNew Files
server/cron/parser.jsserver/cron/engine.jsserver/routes/cron.jsserver/routes/redisCli.jsclient/src/CronJobs.jsxclient/src/RedisCli.jsxscripts/log-datetime.shREADME.mdTested
embr shell(/tmp/cron-log.txtpopulated)