Skip to main content

Django redis Push Pull models and management commands

Project description

Installation

$ pip install django-command-queue

settings.py

INSTALLED_APPS+=['django_command_queue']

migrate

$ python manage.py migrate

Features

  • mutiple workers
    • custom settings
    • worker status
  • command calls log
  • exceptions logging

Models

model db_table fields/columns
Queue django id,worker,name
Worker redis_push id,worker,restart_interval,sleep_interval
WorkerException redis_push id,worker,exc_class,exc_message,exc_traceback,created_at
WorkerStatus redis_push id,worker_id,started_at,updated_at

Management commands

name description
command_queue_worker queue worker

Examples

$ python manage.py command_queue_worker "name"

Project details


Download files

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

Source Distribution

django_command_queue-0.0.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page