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.5.3.tar.gz
(3.6 kB
view details)
File details
Details for the file redisjobs-0.5.3.tar.gz
.
File metadata
- Download URL: redisjobs-0.5.3.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e22c337e9f0bb37780b4ab6e3781b4940553aa5595d27b27b63f1a0b4546f26 |
|
MD5 | 73ac4af384ac517cb0f06b24b4b4db1e |
|
BLAKE2b-256 | 1c7f327ef6cb70124672284a2c66ea91a9dab29a6bc9091e920f7a6ef303930a |