![]() |
I see the recommended cron job is :
lynx -source http://domain/forumdir/gateway.php Is there any reason we can not just set our cron job to : php /pathtogateway.php/gateway.php ? Also has anyone had any success running multiple instances of gateway.php for multiple forum installations on the same server? Any problems? Last but not least, is their a recommended maximum amount of newsgroups that we should do per forum instance or will gateway.php handle whatever you got? |
Quote:
|
Quote:
How did you do this? I would also like to run php 5 but can't seem to figure out how to make gateway.php to run 4.3.11 |
Quote:
I don't know how you'd do it on Linux, but, it can be done. |
Quote:
eg: this will run every 10 mins 1,11,21,31,41,51 * * * * /path-to-php4.3.11/php-4.3.11 -f /path-to-script/gateway.php BTW, I am trying to setup a new gateway for a forum and I only want futures postings to be forwarded to a mailing list, not old posts. How could I do this? Can I set the Last Max postid # to the last posting # of that forum??? TIA |
Yeah I got that all working, but now I have a problem where the script is not following the its own time constraints. From what I understand it is supposed to run no longer than 30 minutes. Also another instance should not run within 30 minutes of the first starting. This makes sense so that you dont have multiple copies running at the same time.
My problem is that gateway.php seems to be running for 2 hours + so that if I cron it multiple instances will occur. Anyone else run into this problem? |
I took a backup of my vb database to my home linux box to test out NNTP gateway to a Yahoo group mailing list. I only enable 1 sub forum and left the default value of 0 on the Last Max postid field. For the first initial run, the gateway sent ALL messages from ALL forums including those msg from an un-related PRIVATE forums to the Yahoo list??? Luckily! this is just a test else I could be in big trouble. I believe this problem only occurs in the initial run.
I just switch NNTP on for the real server with appropriate Last MAx postid set to the last posting #. However, I ran into 2 issues:
The only different is: my hosting company uses PHP 4.3.10 whereas I have 4.3.11 at home. Perhaps there are some other restrictions?? I use 1and1.com btw. |
Any idea of the modifications that need to be made to get this working with 3.5 beta?
|
I am going to compile php as cgi mode just for this script what do i need to include to make it run?
|
<b>Fatal error</b>: Call to undefined function globalize() in <b>/home/usenetma/public_html/gateway.php</b> on line <b>49</b><br />
Vbulletin 3.5 beta 2 error message..... I'll pay $50 to the first person who creates a VB 3.5 compatible version of this... I'm sure some others would be willing to chip in too |
All times are GMT. The time now is 08:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|