Announcement

Collapse
No announcement yet.

sheduled task prune forum each sunday ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • sheduled task prune forum each sunday ?

    Howdy!

    I was wondering how I could make a scheduled task job, or cron job, whatever works, to automatically prune a selected forum each sunday, but no more than so and so threads.

    F.ex, there's 50 threads and x number of posts in this forum. I want to only prune 25 at a time (because the last time I did this I broke the server :P). So then vB would realise it's sunday and start the job at f.ex 5am. Then it prunes 25 threads and all the posts to those threads and stops. Then next sunday it does the same thing.

    Exactly how can I do this? If possible...

    Many thanks,
    Julie

  • #2
    A scheduled task should work fine for that. If you need help writing the code for the task, then I recommend you post on www.vbulletin.org.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X