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

Home » FUDforum » How To » nntp cron.php (ubuntu cron.d job)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: nntp cron.php [message #167179 is a reply to message #167166] Thu, 10 May 2012 13:50 Go to previous messageGo to previous message
eclipsewebmaster is currently offline  eclipsewebmaster   
Messages: 46
Registered: November 2009
Location: Ottawa, Ontario, Canada
Karma:
Member
We created a 'sync.php' script to handle all our newsgroups (we have about 250):

$sql = "SELECT id,newsgroup FROM " . $GLOBALS['DBHOST_TBL_PREFIX'] . "nntp ORDER BY id asc";
$rs = q($sql);
while($myrow = mysql_fetch_assoc($rs)) {
    exec("/path/to/fudforum/scripts/nntp.php " . $myrow['id']);
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: message content in database?
Next Topic: How to make a Forum with FUDforum
Goto Forum:
  

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

Current Time: Fri Nov 29 16:39:34 GMT 2024

Total time taken to generate the page: 0.05812 seconds