FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » NNTP Integration - Crontab simplifying.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
NNTP Integration - Crontab simplifying. [message #33290] Thu, 24 August 2006 08:29 Go to next message
woody is currently offline  woody   Switzerland
Messages: 19
Registered: August 2006
Karma: 0
Junior Member
Hi All

Make nntp.php only needing to be inserted once in crontab.

All information about which newsgroups to fetch is already saved somewhere in the forum config. So nntp.php could use this information to serialy fetch all needed newsgroups one after the other. This also prevents heavy memory/cpu usage as it happens now when you start a great number of nntp.php simultaenously to fetch all newsgroups.

You also would not have to edit the crontab every time you add a new newsgroup. Especialy usefull if you're on a colocated server where the Forum Admin has no access to the crontab.

-Benoit-
Re: NNTP Integration - Crontab simplifying. [message #33297 is a reply to message #33290] Thu, 24 August 2006 15:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The solution it not to run nntp.php directly by create a wrapper shell script executed by cron and the shell script can then execute all the nntp.php import rules needed.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: NNTP Integration - use INN Storage API instead of MySQL
Next Topic: NNTP Integration - Delete canceled Messages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 23:09:18 GMT 2024

Total time taken to generate the page: 0.02743 seconds