How to…¶

  • Find a correct place for your app
  • Create your connector
  • Initiate and terminate the connection to the database
  • Define a task
  • Defer a job
  • Get more context for task execution
  • Launch a worker
  • Use the command line
  • Ensure jobs run sequentially and in order
  • Launch a job in the future
  • Ensure tasks don’t accumulate in the queue
  • Execute multiple jobs at the same time
  • Launch a task periodically
  • Define a retry strategy on a task
  • Add a task middleware
  • Get statistics regarding job executions
  • Launch a job and/or execute it asynchronously
  • Control the way synchronous calls to defer are handled
  • Use Procrastinate in a Django application
  • Make the most out of the logging system
  • Test your code that uses Procrastinate
  • Deploy Procrastinate in a real environment
  • Migrate the Procrastinate schema
  • Monitor Procrastinate in a real environment
  • Delete finished jobs
  • Retry stalled jobs
  • Limit the number of opened connections
  • Define custom JSON encoders and decoders
  • Set the database schema
  • Create modular collections of tasks by using Blueprints

procrastinate

Python/PostgreSQL task processing library

https://secure.travis-ci.org/procrastinate-org/procrastinate.svg?branch=main

Navigation

  • Quickstart
    • Prerequisites & installation
    • Create a Procrastinate application object
    • Prepare the database
    • Declare a task
    • Launch a job
    • Run a worker
    • Checking your jobs
    • Your final file
    • Going further
  • How to…
    • Find a correct place for your app
    • Create your connector
    • Initiate and terminate the connection to the database
    • Define a task
    • Defer a job
    • Get more context for task execution
    • Launch a worker
    • Use the command line
    • Ensure jobs run sequentially and in order
    • Launch a job in the future
    • Ensure tasks don’t accumulate in the queue
    • Execute multiple jobs at the same time
    • Launch a task periodically
    • Define a retry strategy on a task
    • Add a task middleware
    • Get statistics regarding job executions
    • Launch a job and/or execute it asynchronously
    • Control the way synchronous calls to defer are handled
    • Use Procrastinate in a Django application
    • Make the most out of the logging system
    • Test your code that uses Procrastinate
    • Deploy Procrastinate in a real environment
    • Migrate the Procrastinate schema
    • Monitor Procrastinate in a real environment
    • Delete finished jobs
    • Retry stalled jobs
    • Limit the number of opened connections
    • Define custom JSON encoders and decoders
    • Set the database schema
    • Create modular collections of tasks by using Blueprints
  • Discussions
  • API Reference
  • Glossary
  • Contributing
  • Changelog

Related Topics

  • Documentation overview
    • Quickstart
      • Previous: Quickstart
      • Next: Find a correct place for your app

Quick search

©2022, Peopledoc. | Powered by Sphinx 3.5.4 & Alabaster 0.7.12 | Page source
Fork me on GitHub