Skip to main content

Cronken

GitHub license PyPI version

Cronken logo

What is Cronken?

Cronken is a Redis-backed distributed cron system which allows running cronjobs across a set of servers without risking double-running them on multiple boxes at once. To facilitate this, it uses Redis locks to ensure that only one server at a time runs any particular job. It also uses Redis for all of its input and output, reading its job list from Redis, storing results to Redis, and subscribing to a Redis pub/sub channel to allow for centralized control of all cronken instances.

Usage

A barebones example using a local Redis server can be found in example_server.py, and a slightly more sophisticated example that uses aiohttp to expose a web interface can be found in example_web.py.

Data Format

A full description of the backend Redis data format can be found in cronken_specification.md.

Metadata

Release files for cronken 0.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cronken 0.1.20
File Size Uploaded
cronken-0.1.20.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cronken 0.1.20
File Interpreter ABI Platform
cronken-0.1.20-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / cronken-0.1.20.tar.gz

Download URL cronken-0.1.20.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b5ffae0533d177d11b99418ef8cd1033cd8e074bf9363879cb0b832940514f2a
BLAKE2b-256 checksum
How to use checksums
79ead823e7d22676cdd14697f6a612714ea754f564d686775684ec15cb0926c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic

Release files / cronken-0.1.20-py3-none-any.whl

Download URL cronken-0.1.20-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84fb56ca2fc0fc1e1006568926c1febaf83e0027e3843764c94fac1cddb68f6a
BLAKE2b-256 checksum
How to use checksums
610e8e144cb7a005fc5d852464de1f6bb7497d9796dd8120b1870d1d0b3c3b19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 release files

0.1.19

2 release files

0.1.14

2 release files

0.1.10

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release 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