A Python interface to the Jobs scheduler.
Project description
This is a Python client library for interacting with the Jobs scheduler.
Install with pip:
pip install redisjobs
import redisjobs as jobs
# if Redis is not running on your local machine,
# specify Redis host and port, otherwise you
# can initialize the object without arguments
board = jobs.Board(host='127.0.0.1', port=6379)
schedule = {'minutes': 5}
board.put('my job', 'shell', 'echo "Hello world!"', schedule)
print board.get('my job')
Take a look at jobs/__init__.py for more information.
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
redisjobs-0.2.0.tar.gz
(3.2 kB
view hashes)