This document discusses using PGQ (a PostgreSQL queuing solution) to improve the reliability of batch processing jobs. It outlines the needs for reliable, monitored batches and then describes how PGQ features like its producer/consumer model and APIs can be used to implement robust daemon processes to handle batch jobs. Code examples are provided for consuming events from PGQ queues in PHP to integrate existing models and processes batches as daemon jobs.