Zenandrar wrote:Hmm... it would be nice to be able to schedule actions but I think that would to much uh?
I wasn't really considering it. However, one feature I was adding was "Saved Settings" where you could save Pruning options for reuse. I'm not a fan of doing an auto-prune like the built in auto-pruning system (where it is done when a user actually loads a page), I'll consider providing an external script which you can add to a cronjob.
Are you still working on this, R45?
I like your MOD; I've managed to change the default settings so I don't make any mistakes when I press Submit too soon ;-) , but I'd really love it if I could just schedule those, as Zenandrar proposes.
My provider does not like cron jobs too much, he's very reluctant about those. Couldn't you include a feature that does automatically prune the default settings (which an administrator can change and save, of course) just like the autoprune job does?
I do understand your hesitation with the autoprune feature, but on many boards (like mine) this does not appear to be a problem at all. Maybe you could even make an option to select the pruning method (like autoprune or via a cron job).
P.S. I've tried to use Emanueles solution
to do what I need (i.e. to automatically delete posts older than two days from some specific forums), but that only seems to work if no newer posts exist on that forum newer than those two days (or any specified pruning limit).