skip to navigation
skip to content

Not Logged In

Megacron 0.4

Distributed Cron Replacement

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.

 
File Type Py Version Uploaded on Size
Megacron-0.4.tar.gz (md5) Source 2014-04-09 7KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 32 downloads in the last week
  • 71 downloads in the last month