How to run a PHP script on the UNIX command line
| From: | Carlos Fernando Scheidecker Antunes | Date: | Mon, 07 Jan 2002 23:54:44 +0000 |
| Subject: | How to run a PHP script on the UNIX command line | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79739@lists.php.net to get a copy of this message | ||
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.