[PHP] How to run a PHP script on the UNIX command line

2002-01-07 Thread Carlos Fernando Scheidecker Antunes

Hello all,

I would like to have some PHP scripts to do DB maintanance. There are 
not intended for web CGI.

How can I run a script on my UNIX machine command line?

I want to include it on my crontab.

I know how to make it happen with Perl which is quite easy but I do not 
know how to do it in PHP.

Can anyone help me with that?

Thank you,

Carlos Fernando Scheidecker Antunes.


-- 
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] How to run a PHP script on the UNIX command line

2002-01-07 Thread Steve Maroney


Read this --- http://www.php.net/manual/en/commandline.php

On Mon, 7 Jan 2002, Carlos Fernando Scheidecker Antunes wrote:

 Hello all,

 I would like to have some PHP scripts to do DB maintanance. There are
 not intended for web CGI.

 How can I run a script on my UNIX machine command line?

 I want to include it on my crontab.

 I know how to make it happen with Perl which is quite easy but I do not
 know how to do it in PHP.

 Can anyone help me with that?

 Thank you,

 Carlos Fernando Scheidecker Antunes.


 --
 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]










Thank you,
Steve Maroney





-- 
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]