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
nntp cron.php [message #167163] Sun, 06 May 2012 14:07 Go to previous message
THUFIR is currently offline  THUFIR
Messages: 21
Registered: May 2012
Karma:
Junior Member
From http://localhost/fudforum/adm/admjobs.php I would like to manually run the nntp cron jobs. There's a message that cron.php has yet to be run.

Is this the correct script to run to fetch nntp messages? And the correct syntax? How could I run this script manually?

thufir@dur:~$
thufir@dur:~$ cat /etc/cron.d/fud
#hmm, is this the right syntax to run this script?
1 * * * * /var/FUDforum/scripts/nntp.php 1
thufir@dur:~$

Ah, well, I did:

chmod a+x /var/FUDforum/scripts/nntp.php

and then was able to run the script as:

/var/FUDforum/scripts/nntp.php 1

from the console,but how to I tell it to get *all* the newsgroups? This command only fetches the first newsgroup.

[Updated on: Sun, 06 May 2012 14:34]

Report message to a moderator

[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 14:54:41 GMT 2024

Total time taken to generate the page: 0.03803 seconds