nntp cron.php [message #167163] |
Sun, 06 May 2012 14:07 |
|
THUFIR
Messages: 21 Registered: May 2012
Karma: 0
|
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
|
|
|
|
|
|
|
|