Database-backed Periodic Tasks
| name | value |
|---|---|
| Version | 1.0.0 |
| Download | http://pypi.python.org/pypi/dbeat |
| Source | http://github.com/aohan237/dbeat |
| Keywords | peewee, celery, beat, periodic task, cron, scheduling |
Why this module
maybe your proj admin based on django.(django-celery-beat is enough) but if your apps or proj not based on django, then django orm is hard to use. then this is the module's purpose
Using the Extension
install the module
python setup.py install
initial database in celery app
from peewee import SqliteDatabase
database = SqliteDatabase('app.db')
app.database = database
start the beat
celery -A proj beat -l info --scheduler dbeat.schedulers:DatabaseScheduler
Metadata
Release files for dbeat 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbeat-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / dbeat-1.0.4-py3-none-any.whl
| Download URL | dbeat-1.0.4-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b333f20acb1f51b694a4723078b722faea74f77262a82c61ca6bd91e65f0c76c
|
|
BLAKE2b-256 checksum How to use checksums |
dfe67528726e363b3d49ebd7d8e8e465988849d81a3c41971ec8f2575ac367d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1
|