4 messages in com.mysql.lists.eventum-usersRE: PHP Binary call question
FromSent OnAttachments
Madcapcartman21 Sep 2005 15:55 
Greg Larkin21 Sep 2005 16:09 
Madcapcartman21 Sep 2005 16:43 
Greg Larkin21 Sep 2005 19:20 
Subject:RE: PHP Binary call question
From:Greg Larkin (glar@sourcehosting.net)
Date:09/21/2005 07:20:18 PM
List:com.mysql.lists.eventum-users

Hi Madcap,

Sure, you can use anything you like instead of "localhost", as long as it resolves to the proper web site where you have Eventum installed.

I use localhost, because that's the easiest name to refer to the web site when it's accessed from the same machine and there's only one web server running. However, if you're running a virtual host setup, then you should be able to use the FQDN, as long as your DNS is set up correctly.

Regards, Greg

-----Original Message----- From: Madcapcartman [mailto:madc@hotmail.com] Sent: Wednesday, September 21, 2005 7:44 PM To: glar@sourcehosting.net; 'EventumList' Subject: Re: PHP Binary call question

Hi there

Is it possible to use an actual domain instead of 'localhost' i.e:

*/5 * * * * env TERM=vt100 /usr/local/bin/lynx -source http://www.example.com/eventum/misc/process_mail_queue.php ?

Thanks

Madcap

----- Original Message ----- From: "Greg Larkin" <glar@sourcehosting.net> To: "'Madcapcartman'" <madc@hotmail.com>; "'EventumList'" <even@lists.mysql.com> Sent: Thursday, September 22, 2005 12:09 AM Subject: RE: PHP Binary call question

Hi Madcap,

We've got our cron jobs set up like this:

*/5 * * * * env TERM=vt100 /usr/local/bin/lynx -source http://localhost/eventum/misc/process_mail_queue.php */10 * * * * env TERM=vt100 /usr/local/bin/lynx -source http://localhost/eventum/misc/check_reminders.php

As long as you can browse to "localhost", you can probably do something similar. This works fine for us.

Hope it helps, Greg

SourceHosting.net, LLC Ready. Set. Code. http://www.sourcehosting.net/

-----Original Message----- From: Madcapcartman [mailto:madc@hotmail.com] Sent: Wednesday, September 21, 2005 6:56 PM To: EventumList Subject: PHP Binary call question

Hi there

I've successfully installed eventum onto a dedicated server. However, when trying to run the Cron jobs for say process_mail_queue.php - it makes a call to the PHP Binary: * * * * * cd /path-to-eventum/misc; /usr/bin/php -q process_mail_queue.php.

I've tried to run the cron jobs but my host is saying that there is no PHP Binary on the server and suggested that I contact the developers and ask if its possible to call the files another way such as by using "lynx". Can it and if so how?

Thanks

Madcap