This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# crython [![Build Status](](
crython is a lightweight task (function) scheduler using [cron]( expressions written in python.

### Status
This module is currently under development.

### Installation
To install crython, simply:
$ pip install crython

### Usage
Crython supports seven fields (seconds, minutes, hours, day of month, month, weekday, year).

Call a function once a minute:
import crython

#Fire once a minute.
def foo():
print "... while heavy sack beatings are up a shocking nine hundred percent?"

Call a function every ten seconds:
#Fire every 10 seconds.
def foo():
print "I'm a big four-eyed lame-o and I wear the same stupid sweater every day."

Call a function with a single cron expression:
#Fire every 10 seconds.
def foo():
print "Hail to the thee Kamp Krusty..."

Call functions with a full cron expression:
#Fire once a week.
@crython.job(expr='0 0 0 * * 0 *')
def foo():
print "Back in line, maggot!"

Call functions with positional and/or keyword arguments:
#Fire every second.
@crython.job(second=0, 10, 20, name='Homer Simpson')
def sum(x, y, name):
print "Hello {0}. The sum is {1}".format(name, x+y)

Call functions with [predefined keywords](
#Fire once a day.
def foo():
print "That's where I saw the leprechaun. He tells me to burn things!"

Start the global job scheduler:
if __name__ == '__main__':

### TODO
- Keyword support (yearly, weekly, daily, etc)
- Support "L", "W" and "#" specials.
- Determine time delta from now -> next time expression is valid.

### Contributing
If you would like to contribute, simply fork the repository, push your changes and send a pull request.

### License
Crython is available under the [MIT license](

### See Other
There are similar python cron libraries out there.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (11.1 kB) Copy SHA256 Checksum SHA256 Source Feb 28, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting