Skip to main content

Cron job wrapper that ensures a script gets run from one node in the cluster.

Project description

===========
Clustercron
===========

.. image:: https://badge.fury.io/py/clustercron.svg
:target: http://badge.fury.io/py/clustercron

.. image:: https://readthedocs.org/projects/clustercron/badge/?version=latest
:target: http://clustercron.readthedocs.org/en/latest/

.. image:: https://travis-ci.org/maartenq/clustercron.svg?branch=master
:target: https://travis-ci.org/maartenq/clustercron

.. image:: https://codecov.io/github/maartenq/clustercron/coverage.svg?branch=master
:target: https://codecov.io/github/maartenq/clustercron?branch=master


Clustercron is cronjob wrapper that tries to ensure that a script gets run only
once, on one host from a pool of nodes of a specified loadbalancer.

Supported load balancers (till now):

* AWS Elastic Load Balancing

* PyPi: https://pypi.python.org/pypi/clustercron
* GitHub: https://github.com/maartenq/clustercron
* Documentation: https://clustercron.readthedocs.org/en/latest/
* Travis CI: https://travis-ci.org/maartenq/clustercron
* Codecov: https://codecov.io/github/maartenq/clustercron
* Free software: BSD license




History
=======

0.3.7.dev1 (2015-09-12)
------------------

* Added option '-o' '--output' for output of wrapped 'cron command'.


0.3.6 (2015-08-08)
------------------

* Add more tests.
* syslog unix_socket path follows symbolic links (fedora)


0.3.5 (2015-08-07)
------------------

* Urllib refactoring with requests.
* Use responses for tests.
* Factored out Mock objects.
* Removed OS X 'open' command from makefile.
* Removed python 2/3 compatibilty module.
* Removed unused exceptions module.


0.3.4 (2015-07-12)
------------------

* Correction in docs/usage.rst


0.3.3 (2015-07-12)
------------------

* Remove :ref: tag from README.rst (for formatting on PyPi)


0.3.2 (2015-07-12)
------------------

* Fix mock requirements in tox.ini (mock 1.1.1 doesn't work with Python 2.6)


0.3.1 (2015-06-28)
------------------

* First release (beta status)


0.3.0 (2015-06-28)
------------------

* First release


0.3.0.dev2 (2015-06-21)
-----------------------

* First real working version for ELB


0.3.0.dev1 (2015-06-17)
-----------------------

* First working version for ELB

0.2.0.dev2 (2015-05-25)
-----------------------

* In Development stage 1
* Removed HAproxy for now.


0.1.3 (2015-05-22)
------------------

* Refactor command line argument parser


0.1.2 (2015-03-28)
------------------

* More test for commandline
* Travis stuff


0.1.0 (2015-01-23)
------------------

* First release on PyPI.

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

clustercron-0.3.7.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

clustercron-0.3.7-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file clustercron-0.3.7.tar.gz.

File metadata

  • Download URL: clustercron-0.3.7.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for clustercron-0.3.7.tar.gz
Algorithm Hash digest
SHA256 56516e7d378f738c0fd1e3001459ad5bd66ec0c3652f832164d4d064818a44cb
MD5 ff47100fcd6c08f50e9d7c0feb90a145
BLAKE2b-256 0e7ccb5dae90ecac8c000d6119c01512042cab302b4a4dd10c3bf7b7b00b37aa

See more details on using hashes here.

File details

Details for the file clustercron-0.3.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for clustercron-0.3.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa9cf3a27fd84496b93be835fcdbf254978337f6e6c0ea4f38fac7758d61255f
MD5 f59934aa6cdeeb5c33493de6c042c664
BLAKE2b-256 475c163ca7fe2797a732b2fa7fa0a383563423b9842c20622f5bdda132d4d932

See more details on using hashes here.

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