Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » NNTP Integration - Crontab simplifying.
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
NNTP Integration - Crontab simplifying. [message #33290] Thu, 24 August 2006 04:29 Go to next message
woody is currently offline  woody   Switzerland
Messages: 19
Registered: August 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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.

Re: NNTP Integration - Crontab simplifying. [message #33297 is a reply to message #33290] Thu, 24 August 2006 11:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Core Developer
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Tue Mar 26 08:35:03 EDT 2019

Total time taken to generate the page: 0.00732 seconds