Re: PHP scripts on shell? + repeating work

From: Date: Fri, 18 Apr 2003 21:21:19 +0000
Subject: Re: PHP scripts on shell? + repeating work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144439@lists.php.net to get a copy of this message
Is there any way to execute a php file only in the shell (like perl)? I have a php file w/o any html output its just changing files ... Is there a way to run it over the shell? Yes, have a look at http://www.php.net/manual/en/features.commandline.php.
Is there a smart way to do automatically repeating work (every 10 minutes) with a php script over a HTTP interface? If your server is using *n*x, use cron.
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#144439) next »