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.
Metadata
Release files for redisjobs 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redisjobs-0.5.3.tar.gz | 3.6 kB | Details |
Release files / redisjobs-0.5.3.tar.gz
| Download URL | redisjobs-0.5.3.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e22c337e9f0bb37780b4ab6e3781b4940553aa5595d27b27b63f1a0b4546f26
|
|
BLAKE2b-256 checksum How to use checksums |
1c7f327ef6cb70124672284a2c66ea91a9dab29a6bc9091e920f7a6ef303930a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |