Topic: mod to automatically close and delete topics after x days

I'm looking for a mod or some code to run every day and automagically close and delete posted topics after x number of days.

I want to add a classifieds section to a forum, and have ads deleted after 7 or 14 days, without doing so manually.

I know - I'm lazy and could just use the built-in 'Prune' function every day, or at the end of every fortnight etc...

Anyone know of any other mods that could do the job, or perhaps suggest how I could make the prune function cron-able to (for example) run every day, and save me the hassle of doing the chore manually?

punres turns up no pre-built mods or code, alas.

Re: mod to automatically close and delete topics after x days

Moved to Modifications

Re: mod to automatically close and delete topics after x days

I see that there was once a plugin that could do this, but no more. I attempted to create it myself, but lack the experience needed.

I'd be just as happy with a cron job entry that ran a mysql query to preform the action.