Hi i have tried to run the php file in the plesk by using cronjob by the following commands.But everything is showing the errors. Not executing the php script.
i.e.,
php -q /path to the file
shows php command not found.so i have tried to find the path for php by using
which php
it displays the path /usr/bin/php. after that i have tried with
/usr/bin/php -q /path to the file
it shows /usr/bin/php
no such file or directory
The same way i tried for
/usr/bin/env /usr/bin/php -q /path to the file
/usr/bin/curl /url of the file
/usr/bin/wget /url of the file
every thing is showing the error and not executing the script. what is wrong with this. Can any one suggest me. thanks in advance