Larry Wakeman - 2015-04-30 06:39:45 - In reply to message 1 from Lenamtl
I use GoDaddy hosting and all I have to do is to select the script. I think they wrap the script with some shell but for Linux the command should look something like:
php < path to script from root/scriptname.php > path to script from root/logfile.log
For windows:
C:\path to php\php.exe < D:\path to script\scriptname.php > C:\path to log\logfile.log