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.

Download files

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

Source Distribution

cronken-0.1.20.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

cronken-0.1.20-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file cronken-0.1.20.tar.gz.

File metadata

  • Download URL: cronken-0.1.20.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic

File hashes

Hashes for cronken-0.1.20.tar.gz
Algorithm Hash digest
SHA256 b5ffae0533d177d11b99418ef8cd1033cd8e074bf9363879cb0b832940514f2a
MD5 916ce00eacf26b6fab5296c08964ea55
BLAKE2b-256 79ead823e7d22676cdd14697f6a612714ea754f564d686775684ec15cb0926c8

See more details on using hashes here.

File details

Details for the file cronken-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: cronken-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic

File hashes

Hashes for cronken-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 84fb56ca2fc0fc1e1006568926c1febaf83e0027e3843764c94fac1cddb68f6a
MD5 2ec7e8752f9e99ee6481d9fc3c0663ee
BLAKE2b-256 610e8e144cb7a005fc5d852464de1f6bb7497d9796dd8120b1870d1d0b3c3b19

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 files

0.1.19

2 files

0.1.18

2 files

0.1.15

2 files

0.1.14

2 files

0.1.10

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page