multe-me wrote:
I been trying and trying to do this with no luck at all. Plain and simple is I need a shell script that would run this:
php http://path/vsp.php -l wet -p savestate 1 "ftp://ftppath/server.log"
What it's suppose to do is run vsp.php (vsp stats processor) with the specified options (-l wet -p savestate 1) and process the server.log that it ftp'd with those options.
Thanks guys
you are giving an url to php interpreter. so it can do nothing. try giving real path of file. it has to be like "/var/www/html/vsp.php" or /home/user/public_html/vsp.php"
if php file is not on your machine and you need to run it from outside then arrange php.ini (on remote server) for your options, and then you just need to call it with wget or curl.