Quantcast
Channel: SNBForums
Viewing all articles
Browse latest Browse all 95924

Run php script from the command line

$
0
0
Hi All,
I would like to run a php script from the command line or as a scheduled task. The script downloads and unrar files in a folder. I installed php-cli. Running "php script.php" from the command line didn't work. I changed to "php-cli script.php" and it worked, but after script launched R700 memory used by the script didn't get released. I had about 80MB used before and 210MB after. Any suggestion how that can be improved?
Thanks

Viewing all articles
Browse latest Browse all 95924

Trending Articles