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

Home » FUDforum » How To » Problem running getlists from cron
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem running getlists from cron [message #33081 is a reply to message #33075] Fri, 11 August 2006 14:58 Go to previous messageGo to previous message
billnot is currently offline  billnot   Spain
Messages: 28
Registered: August 2006
Location: Spain
Karma:
Junior Member
I've ound out the answer! It's something weird about my hosts. I have to put the path to a special PHP executable in the popen:

$pipe = popen("/usr/local/bin/php4.cli /home/costabla/www/www/FUDforum/scripts/maillist.php 5","w");

on the appropriate line of getlists.php sovlve severything.

So, on this topic, just one more question:
the original line was
$pipe = popen($this->config['posting_script'] . ' ' . $f['id'] , "w");

I must have something wrong in the syntax, as if I make this
$pipe = popen("/usr/local/bin/php4.cli" $this->config['posting_script'] . ' ' . $f['id'] , "w");

it doesn't work. Could somebody, after calling me a clueless newbie, give me the correct syntax for the generic call?

Thanks!!


--
Bill Hayles
El Inglés Loco
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lock / Unlock and file permissions
Next Topic: Mailman Integration!
Goto Forum:
  

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

Current Time: Mon Nov 25 20:32:56 GMT 2024

Total time taken to generate the page: 0.03902 seconds