Skip to main content

Database-backed Periodic Tasks.

Project description

Database-backed Periodic Tasks

name value
Version 1.0.0
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 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dbeat, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size dbeat-1.0.4-py3-none-any.whl (12.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page