Skip to content
Kronos makes it really easy to define and schedule tasks with cron
Python Other
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
kronos
tests
.gitignore
CHANGELOG
LICENSE
README.md
setup.py

README.md

Kronos

About

Kronos is a Django application that makes it 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 kronos
Something went wrong with that request. Please try again.