Skip to main content

No project description provided

Project description

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.

Project details


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.18.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

cronken-0.1.18-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page