Distributed Cron Replacement
Project description
Introduction
Wikimedia Distributed Cron
Installation
To install just run:
sudo pip install megacron
or clone this repo and run:
sudo ./setup.py install
Usage
Set the location of the database file to a shared filesystem in /etc/megacron.conf then run:
sudo megacrond sudo megacrontab
Commands
megacrontab - Gets any existing crontab entries and allows the user to add, modify or remove tasks using a standard text editor.
megacrond - Daemon that runs in the background and executes the jobs. This must run as root.
megacron-status - Prints out details about the current status.
Development
Clone this repo and run:
sudo ./setup.py develop sudo cp megacron/conf/megacron.conf /etc/
To uninstall:
sudo ./setup.py develop --uninstall sudo rm /etc/megacron.conf /usr/bin/megacron*
Testing
To run unit tests to verify expected api functionality:
sudo ./setup.py [-q] test [-v]
Note that the optional q flag is for quieting setup messages and the v flag is for verbose test output.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Megacron-0.4.tar.gz.
File metadata
- Download URL: Megacron-0.4.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52a2e4cce4123770eab8dc72016ce033ac0b828a24a21278908a6fddc852f2bb
|
|
| MD5 |
013f3b025417cac415bf6361415e089e
|
|
| BLAKE2b-256 |
136b4cf1d6e6d7093183320df2c046ff741a60ca55ca5646aa42142de4bb5143
|