RE: [PHP] php as cron

2001-12-10 Thread Martin Towell
ct: Re: [PHP] php as cron I was wondering how to disable the auto email after the cron job is done. How exactly do you disable it? thanks for the help btw! - Original Message - From: "Shane Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 1

RE: [PHP] php as cron

2001-12-10 Thread Darren Gamble
To: Darren Gamble Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP] php as cron Why not just use lynx to run it? */2 * * * * /usr/local/bin/lynx -dump crontest.php JR > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > I'm trying to test php running a

Re: [PHP] php as cron

2001-12-10 Thread Jay Paulson
> Sent: Monday, December 10, 2001 1:12 PM Subject: RE: [PHP] php as cron > > Why not just use lynx to run it? > > */2 * * * * /usr/local/bin/lynx -dump crontest.php > > JR > > > > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > > I'm trying to test p

Re: [PHP] php as cron

2001-12-10 Thread Jay Paulson
I was wondering how to disable the auto email after the cron job is done. How exactly do you disable it? thanks for the help btw! - Original Message - From: "Shane Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 10, 2001 12:47 PM Subject:

RE: [PHP] php as cron

2001-12-10 Thread jr
Why not just use lynx to run it? */2 * * * * /usr/local/bin/lynx -dump crontest.php JR > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > I'm trying to test php running as a cron job and I have installed php as a > > CGI in /usr/local/bin and I have edited my crontab file to call a php

RE: [PHP] php as cron

2001-12-10 Thread Darren Gamble
P 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Shane Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php as cron Hi You probably need to set the path to your PHP binary in cr

Re: [PHP] php as cron

2001-12-10 Thread Shane Wright
Hi You probably need to set the path to your PHP binary in crontab. Alternatively (this is probs a better way), wrap the whole lot up in a simple shell script and get cron to run the shell script. It's easier than it sounds... #!/bin/bash cd /path/to/php/scripts php < myscript.php > /dev/null

[PHP] php as cron

2001-12-10 Thread Jay Paulson
I'm trying to test php running as a cron job and I have installed php as a CGI in /usr/local/bin and I have edited my crontab file to call a php file every two minutes. However, it's not working and I was wondering if you all would know what's going on. Anyway, here's how I have things set up

Re: [PHP] php as cron

2001-06-22 Thread infoz
PHP as a script processor just like Perl, Korn, BASH, etc., i.e. #!/path/to/php.cgi -q ...script goes here... - Tim http://www.phptemplates.org - Original Message - From: "AJDIN BRANDIC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 4:28 AM

RE: [PHP] php as cron

2001-06-22 Thread Jean-Arthur Silve
d 'php '? Now, I don't know how you would pass > > parameters to it... > > > > > -Original Message- > > > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, June 21, 2001 8:09 AM > > > To: AJDIN BRANDIC

Re: Re[2]: [PHP] php as cron

2001-06-22 Thread lenar
> I have had the same problem in some debian installations. > As far as I investigaed, it possibly has to deal with the TERM > parameter but finally I did solve the problem installing also a > copiled version of PHP an calling it like: > > * * * * * php /var/www/path/to/script.php This m

Re[2]: [PHP] php as cron

2001-06-22 Thread Gianluca Baldo
t; From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] >> > Sent: Thursday, June 21, 2001 8:09 AM >> > To: AJDIN BRANDIC >> > Cc: [EMAIL PROTECTED] >> > Subject: RE: [PHP] php as cron >> > >> > >> > try etc. >> > >> >

RE: [PHP] php as cron

2001-06-22 Thread AJDIN BRANDIC
Now, I don't know how you would pass > parameters to it... > > > -Original Message- > > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 21, 2001 8:09 AM > > To: AJDIN BRANDIC > > Cc: [EMAIL PROTECTED] > > Subjec

RE: [PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
Thanks all Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] php as cron

2001-06-21 Thread lenar
w, I don't know how you would pass > parameters to it... > > > -Original Message- > > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 21, 2001 8:09 AM > > To: AJDIN BRANDIC > > Cc: [EMAIL PROTECTED] >

RE: [PHP] php as cron

2001-06-21 Thread Joseph Tate
Have you tried 'php '? Now, I don't know how you would pass parameters to it... > -Original Message- > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 21, 2001 8:09 AM > To: AJDIN BRANDIC > Cc: [EMAIL PROTECTED] > Subject: RE

RE: [PHP] php as cron

2001-06-21 Thread Galvin, Max
D] > Subject: [PHP] php as cron > > Hi > > I have PHP installed as Apache module but I want to run a cron job. I > have .php script that works OK when executed through browser but is there > any way I could execute it through a cron job. > > Ajdin >

RE: [PHP] php as cron

2001-06-21 Thread Johan Holst Nielsen
try etc. 00,30 * * * * lynx -dump http://path.to.php.script > /dev/null Regards Johan > > Hi > > I have PHP installed as Apache module but I want to run a cron job. I > have .php script that works OK when executed through browser but is there > any way I could execute it through a cron job. >

[PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
Hi I have PHP installed as Apache module but I want to run a cron job. I have .php script that works OK when executed through browser but is there any way I could execute it through a cron job. Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED