Skip to main content

z4j-rqscheduler

PyPI version Python License

The rq-scheduler adapter for z4j.

Surfaces rq-scheduler periodic / interval / cron jobs on the dashboard's Schedules page, read, trigger, disable (cancel), delete.

Compatibility

  • rq-scheduler 0.11+ (no upper cap)
  • Python 3.11+

Full per-adapter matrix at https://z4j.dev/reference/compatibility/.

What it ships

Capability Notes
List schedules every job rq-scheduler currently tracks
Disable cancels the scheduled job (rq-scheduler has no enabled flag); re-enable by re-registering it from your code
Trigger now enqueues the task immediately, outside the schedule
Delete clean removal from the rq-scheduler set
Boot inventory full snapshot at agent connect; existing schedules show up without editing

Schedule create and update are not yet supported from the dashboard for rq-scheduler, so the brain greys those actions out. Define schedules in your project's Python entrypoint (scheduler.cron(...) / scheduler.schedule(...)); z4j surfaces them read-only once they exist.

Install

pip install z4j-rq z4j-rqscheduler
from rq import Queue
from rq_scheduler import Scheduler
from redis import Redis
from z4j_bare import install_agent
from z4j_rq import RqEngineAdapter
from z4j_rqscheduler import RqSchedulerAdapter

redis = Redis(host="localhost")
queue = Queue(connection=redis)
scheduler = Scheduler(queue=queue, connection=redis)

install_agent(
    engines=[RqEngineAdapter(rq_app=queue)],
    schedulers=[RqSchedulerAdapter(scheduler=scheduler)],
    brain_url="https://brain.example.com",
    token="z4j_agent_...",
    project_id="my-project",
)

Pairs with

Reliability

  • No exception from the adapter ever propagates back into rq-scheduler or your job code.
  • Schedule writes to Redis are atomic; if z4j is unreachable, the local Redis write is never affected.

Documentation

Full docs at z4j.dev/schedulers/rq-scheduler/.

License

Apache-2.0, see LICENSE.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z4j_rqscheduler-1.7.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z4j_rqscheduler-1.7.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file z4j_rqscheduler-1.7.0.tar.gz.

File metadata

  • Download URL: z4j_rqscheduler-1.7.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for z4j_rqscheduler-1.7.0.tar.gz
Algorithm Hash digest
SHA256 33cb6d4fcb38adcd8a0772b5641f3a0157fd5e377dabb1412129a01704dbd102
MD5 571ff3bd193e5faf551ba6db686d6b8a
BLAKE2b-256 8c34c763e9a2f5fc50f536457900d8ff68efb7b54845a35b15ff4bc9ce3415cf

See more details on using hashes here.

File details

Details for the file z4j_rqscheduler-1.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for z4j_rqscheduler-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e53d04c3b42f6dfd844e0caf3811b9e54bfa05305411598e62b7eebc5fdf1c7c
MD5 f2c32cfa3f06cd880df398b6b980f595
BLAKE2b-256 e1a5a5c670a8d4aaffeb26d9e5cd780a091393c71e5e07780f2ef5968649e905

See more details on using hashes here.

Release history Release notifications | RSS feed

1.10.0

2 files

1.9.1

2 files

1.9.0

2 files

1.8.0

2 files

This release

1.7.0 This release

2 files

1.6.7

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page