schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
335 stars 254 forks source link

Configuration option to delete old jobs (optionally) #91

Closed ghost closed 9 years ago

ghost commented 9 years ago

After a while, database size is considerably increased because of the output messages & stack traces stored in database.

Should an option be added to automatically delete old jobs? For instance keep history for up to 1 week.

If bundle won't handle this itself, a recurring command needs to be created by developers who use this bundle.

nclavaud commented 9 years ago

Looks like jms-job-queue:clean-up command does what you want.