Forums / Setup & design / Unpublishing objects older than today?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Unpublishing objects older than today?

Author Message

Kjerand Pedersen

Monday 21 July 2003 2:31:49 pm

Hello,

I'm working om a scheduler and use a custom class for publishing events. The class has two datetime fields for start and end of the event. I'm looking for a way to automatically delete all events with a start-attibute less than the current timestamp. This should be done once a week.

I suppose I need to create a workflow and a trigger for this, but I have no idea of where to start and how to do it.

Anyone up for the challange? ;-)