Skip to content
Kronos makes it ridiculously easy to define and schedule tasks with cron
Python
Pull request Compare This branch is 117 commits behind jgorset:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
kronos
tests
.gitignore
CHANGELOG
LICENSE
README.rst
setup.py

README.rst

Kronos

About

Kronos makes it ridiculously easy to define and schedule tasks with cron.

Usage

Define tasks

Kronos collects tasks from cron modules in your project root and each of your applications:

# app/cron.py

import kronos

@kronos.register('0 0 * * *')
def complain():
    complaints = [
        "I forgot to migrate our applications's cron jobs to our new server! Darn!",
        "I'm out of complaints! Damnit!"
    ]

    print random.choice(complaints)

Register tasks with cron

$ python manage.py installtasks

Installation

$ pip install django-kronos
Something went wrong with that request. Please try again.