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? ;-)

 

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.