Delete DataObject after x


#1

Hi Pimcore friends. We are creating a event listing in Pimcore. No problem at all. But there is one question left where i may need some help. Is there any possibility in pimcore to delete a data object after x-time? Let’s say you have events listed. after the event they should either be deleted or not public anymore. is there a easy way to do this?

Thank you guys!
Sandra


#2

Pimcore already has the scheduler, I never used it, but I assume you can use it to unpublish objects.


#3

yes it has. but you can only use it after you created an object or doc. is there a way to give it right away while creating?


#4

You could use object-postSave events and create it automatically.