veliovgroupveliovgroupOfficialยท1 Agent Skills Included

josk

Cluster-safe task scheduling for Node.js and Bun apps

Schedules recurring and one-shot background jobs across scaled Node.js and Bun servers using Redis, MongoDB, or PostgreSQL. Prevents duplicate task execution across clusters, containers, and data centers with storage-level locks and zombie recovery. Guides correct adapter setup, CRON patterns, and shutdown handling so scheduled jobs run exactly once per tick.
npx skills add veliovgroup/josk --all -g -y
Available:

Directs the agent on JoSk's architecture, adapter contracts, testing rules, and how to keep the bundled scheduling skill in sync with the public API.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install JoSk?โ–ผ

Run `npx skills add veliovgroup/josk --all -g -y` in your terminal to install the JoSk skill globally for your coding agent.

How to run a cron job only once across multiple servers?โ–ผ

Use JoSk with a Redis, MongoDB, or PostgreSQL adapter โ€” it claims each due tick with a storage-level lock so only one instance executes the task.

Does JoSk work with Redis Cluster or KeyDB?โ–ผ

Yes. Pass `useHashTags: true` to the RedisAdapter for Redis, KeyDB, or Valkey Cluster so all scheduler keys stay in one hash slot.

Can JoSk replace node-cron or BullMQ?โ–ผ

Yes for distributed scheduling needs. JoSk mimics setTimeout and setInterval with cluster-wide guarantees, and pairs with cron-parser for CRON expressions.

Does JoSk work with Meteor.js?โ–ผ

Yes. Install the `ostrio:cron-jobs` Meteor package and reuse your app's existing MongoDB connection through the MongoAdapter.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’