PDA

View Full Version : Set mass moving / pruning of threads as a cronjob


Stadler
08-02-2004, 10:00 PM
OK, I've just sorted out a bug, that made it useless, but it seems to work now.

Anyway: It still needs some testing and I need some volunteers to help me sort out remaining bugs and to check, if I didn't miss anything the installation-manual.

Important note: It hasn't been fully tested so its strongly recommended to backup first.

OK, what does it do and how does it work? Well, usually you move or prune threads manually from time to time, but with this hack you can add the options you've chosen as a cronjob, that does the work for you. It even works, if no matching threads were found. If you want to manage these crons, you can check the new option added to the 'Threads & Posts'-Group in your AdminCP. However, you can only view and delete crons there atm. (See screenshots)

PS: I'd recommend to run the mass-move or mass-prune action manually the first time, because the first run may be very intensive.

???`S?LV?R???`
08-03-2004, 01:21 AM
nice one :)

Aurous
08-04-2004, 03:57 AM
nice stuff, will have to play with it in my test board. will get back to you with results.

Stadler
08-06-2004, 01:04 AM
nice stuff, will have to play with it in my test board. will get back to you with results.
I'm planning to implement rebuilding of the counters of the affected forums. And could you especially test mass move? That would be nice. I'm not using that on my forum. Mass prune seems to work fine.