Quote:
03-26-03 at 08:22 PM JF1980 said this in Post #530
[B]Ok, I sort of have this working. Few questions:
1. Is there a way of making the reply address the same for any user (e.g. usenet@thrill-seekers.net) and then having a cron job checking this account every x mins and then importing any replies to threads into the newsgroup forum? Im sure someone must have done this already.
|
For the email you can try this, you need to edit a entry in the database, in the table: nntp_settings
The title is: Email address domain
Change the value: timelimit.yourserver.com
To what ever you need, I dont know if this works 100% but by the look of it, and what the description of it says, it should do.
As for the cron job, I do it a simple way and use MS Task scheduler, just point it to iexplorer.exe (or what ever browser) like this:
"C:\Program Files\Internet Explorer\iexplore.exe"
http://theborg.cjb.net/borg/forums/gateway.php
The above is all one line, you can see if it works via wacking it in your RUN command line from the Start Menu (for us Windows users)
Quote:
3. How regularly can I have a cron job running gateway.php without making the server slow down to a halt and being thrown out by my host (powweb)? 5mins, 10mins? If you want to see the size of the newsgroups I will be using then take a look at http://jf.myftp.org (my test box). I guess I will have about 6-7 other groups on my live site all of similar size.
|
Have it as often as you like, I have it every 20 minutes.
Quote:
4. What is the best way to stop my DB going over my 250MB server disk limit? I guess I should clear out posts once they are 30 days old or so, VBAdmin doesn't do this so I guess I will have to run a cron job, are there any good scripts already out there for this purpose?
|
Use the Search system
Thanks