Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Procrastinate documentation
Procrastinate documentation
  • Quickstart
  • How to…
    • Basic operations
      • Find a correct place for your app
      • Instantiate your connector
      • Initiate and terminate the connection to the database
      • Define a task
      • Defer a job
      • Batch defer multiple jobs
      • Launch a worker
      • Use the command line
      • Running on Windows
    • Advanced features
      • Get more context for task execution
      • Ensure jobs run sequentially and in order
      • Launch a job in the future
      • Provide a job priority
      • Cancel a job
      • Ensure tasks don’t accumulate in the queue
      • Launch a task periodically
      • Define a retry strategy on a task
      • Retry a Job Manually
      • Add middleware
      • Get statistics regarding job executions
      • Control the way synchronous calls to defer are handled
      • Define custom JSON encoders and decoders
      • Create modular collections of tasks by using Blueprints
      • Shutdown a worker
      • Document my tasks with Sphinx & Autodoc
    • Django integration
      • Configure Django & Procrastinate to work together
      • Use Procrastinate in a Django application
      • Use Procrastinate migrations with Django
      • Interact with Procrastinate tables as Django models
      • Create a relation between your model and the ProcrastinateJob model
      • Customize the app integration through settings
      • Get Procrastinate logs
      • Test Procrastinate interactions in a Django project
      • Run Procrastinate code at Django startup
      • Running custom Django scripts
    • Going to production
      • Test your code that uses Procrastinate
      • Make the most out of the logging system
      • Deploy Procrastinate in a real environment
      • Migrate the Procrastinate schema
      • Execute multiple jobs at the same time
      • Monitor Procrastinate in a real environment
      • Limit the number of opened connections
      • Using an external database connection
      • Set the database PG schema
      • Delete finished jobs
      • Retry stalled jobs
  • Discussions
  • API Reference
  • Glossary
  • Contributing
    • Demos
  • Changelog
Back to top
Copyright © 2019-2026, Joachim Jablon, Eric Lemoine, Kai Schlamp, PeopleDoc
Made with Sphinx and @pradyunsg's Furo