timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
2.07k stars 157 forks source link

Job History #385

Closed ctaity-treinta closed 1 year ago

ctaity-treinta commented 1 year ago

Hi, Exists a way to get job history, for example jobs between dates and status failed ?

Thanks

timgit commented 1 year ago

You should run a query against the job table. Depending your retention policy configuration, you may also need to query the archive table.