Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

emmanuelkatian's avatar

Jobs [Queue] no delete data

Hello, currently my jobs table records are deleted on completion, I would like to keep them to then perform some validations that I have in mind, I have searched for information on how to stop the deletion process and have not found, if anyone has any suggestions, thank you very much.

0 likes
4 replies
Sergiu17's avatar

Most likely you will not be able to do this

Snapey's avatar

before each job finishes you could get it to write audit information to a separate table. The logic for this could be in a trait and pulled into each job class.

gych's avatar

Which data from the queue do you need for validation?

You can store the data you need from that queue in a separate table and run the validation on that table after the queue is done?

Please or to participate in this conversation.