Schked
Schked is a framework-agnostic Ruby wrapper around rufus-scheduler for running recurring jobs. It adds Redis-based distributed locking (so only one scheduler instance is active at a time), Rails integration, callbacks, and a small CLI.
Routing Map
| Question | Go to |
|---|---|
| How does the scheduler start, run, and shut down? | references/architecture.md |
| How do I install and configure it? | references/initialization.md |
| What changed between versions or what is deprecated? | references/migration.md |
| How do I perform a concrete task? | references/recipes/{use-case}.md |
| How do I configure the Kubernetes liveness probe? | references/recipes/configure-liveness-probe.md |
| What is broken and how do I fix it? | references/troubleshooting.md |
Reading Order
- Read
references/architecture.mdfirst to understand the runtime model, especially the threading rules and the Redis lock. - Read
references/initialization.mdwhen the task involves setup or configuration. - Read the specific
references/recipes/{use-case}.mdfor the task at hand. - Read
references/migration.mdonly when upgrading or handling deprecations. - Read
references/troubleshooting.mdonly when diagnosing failures.
Critical Constraints
- Do not rely on class or method signatures from this skill. Open the gem source or the rufus-scheduler documentation when you need exact API details.
- Verify whether the current environment is
standaloneor Redis-locked before changing scheduling behavior. - Prefer linking to rufus-scheduler cron/every/in documentation over duplicating scheduling syntax.