Skip to main content

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

Project description

Pypi Documentation Status pre-commit.ci status CI status Codecov

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. Clustercron select a master from all nodes and will run the cronjob only on that node.

Features

Supported load balancers (till now):

  • AWS Elastic Load Balancing (ELB)
  • AWS Elastic Load Balancing v2 (ALB)

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

Uploaded source

Built Distribution

clustercron-1.0.1-py2.py3-none-any.whl (10.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page