allan grossman
03-07-2004, 10:19 PM
I asked this over at vB.com and they sent me over here - seems to me you could do this by just passing arguments to thread.php to prune forums but I'll ask here. Here's the post from vB.com -
==========
Hi, guys -
I need a little help if it's possible.
I currently run a Usenet gateway into vb3 forums. Traffic is high and I'd like to prune the forums as a scheduled task or with lynx as a cron job.
I'd like to prune one forum and all its child forums of any thread where the last post is more than 90 days old. Stickys and redirects aren't an issue. Can someone help me with a command line for a scheduled task or a cron job?
Also, updating forum info to provide an accurate thread count would be pretty spiffy - I understand it'd take a second cron job.
Thanks for any assistance y'all can provide :)
==========
Am I way off-base here? Can I prune forums as a scheduled task? Like I said it seems to me all I'd have to do is pass the proper arguments to thread.php and update counters by passing arguments to misc.php.
Anybody got any ideas? This would be a really cool scheduled task.
==========
Hi, guys -
I need a little help if it's possible.
I currently run a Usenet gateway into vb3 forums. Traffic is high and I'd like to prune the forums as a scheduled task or with lynx as a cron job.
I'd like to prune one forum and all its child forums of any thread where the last post is more than 90 days old. Stickys and redirects aren't an issue. Can someone help me with a command line for a scheduled task or a cron job?
Also, updating forum info to provide an accurate thread count would be pretty spiffy - I understand it'd take a second cron job.
Thanks for any assistance y'all can provide :)
==========
Am I way off-base here? Can I prune forums as a scheduled task? Like I said it seems to me all I'd have to do is pass the proper arguments to thread.php and update counters by passing arguments to misc.php.
Anybody got any ideas? This would be a really cool scheduled task.