You need to configure cronjob script. Take a look on this example.
http://ez.no/doc/ez_publish/technical_manual/4_0/features/cronjobs/the_cronjob_scripts#unpublish http://ez.no/doc/ez_publish/technical_manual/4_0/features/cronjobs/configuring_cronjobs
I don't really understand how I can create a custom cronjobs, saying that after two month (i.e.) the topic delete itself. Should I create my own php script for this ?
I think what Jeremy wants to do is to be able to specify a global "time-to-live" that will be used by the unpublish cronjob (or variant thereof) rather than have to specify the 'unpublish_date' attribute for each forum topic.
I'm looking for something similar but for RSS import objects. For example, on importing an RSS object is it possible to automatically populate the 'unpublish_date' attribute with (current date + 2 months)?
Or has someone modified unpublish.php so that it will look at the publish date of an object, test if it is more than 2 months old, and unpublish/hide it if is?