Home »
FUDforum »
FUDforum Suggestions »
NNTP Integration - Crontab simplifying.
NNTP Integration - Crontab simplifying. [message #33290] |
Thu, 24 August 2006 08:29 |
woody
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 |
Ilia
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
|
|
|
Goto Forum:
Current Time: Sun Nov 24 02:00:19 GMT 2024
Total time taken to generate the page: 0.02603 seconds