Skip to main content

Distributed Cronlike Scheduler

Project description

## Distributed Cronlike Scheduler [![Build Status](https://travis-ci.org/witlox/dcron.svg?branch=master)](https://travis-ci.org/witlox/dcron)

The aim of dcron is to offer [cron](https://en.wikipedia.org/wiki/Cron) like behaviour spanning multiple machines. The system offers a web interface to manage your jobs, and reports the health of the cluster. Everything is self contained, so you only need to start the system to have a working setup. We do however recommend that you run the system behind a reverse proxy, since there is no authentication mechanism. Please check the [docs](https://dcron.readthedocs.io) regarding installation, configuration and options.

## Details

  • dcron requires Python 3.7+ in order to work.

  • all nodes running dcron need to have the same software installed you want dcron to run

  • dcron runs tasks at-most-once (according to schedule)

## Installation

pip install dcron

## Options

  • -l or –log-file: by default we only log to stdout/stderr, specify a path and a log file will be created

  • -p or –storage-path: we cache our stuff directly in memory, if you wan’t your runtime configuration to be saved, specify a folder here

  • -c or –communication-port: udp broadcast is used for synchronization between nodes, specify a port here (default: 12345)

  • -w or –web-port: port to host the web interface (default: 8080)

  • -n or –ntp-server: given that we are doing cron, we need time sync to be relatively close, if skewed, we break (default: pool.ntp.org)

  • -s or –node-staleness: after x seconds of inactivity a node is marked stale and jobs are redistributed over active nodes

  • -v or –verbose: more logging

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

dcron-0.8.7.tar.gz (47.0 kB view details)

Uploaded Source

File details

Details for the file dcron-0.8.7.tar.gz.

File metadata

  • Download URL: dcron-0.8.7.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for dcron-0.8.7.tar.gz
Algorithm Hash digest
SHA256 eac4dc0519a4f81b61b24f8fcc3147e4fbb3fbef69a5ef5c00334ae3e5bde4c8
MD5 d8feea1c9067d25bfd8dc8830f267d8e
BLAKE2b-256 431ba0111d236f9a7e8a652eec7a190b1ba93cbfd7499823feca40dde3bd9d02

See more details on using hashes here.

Supported by

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