Hello, I don't know how to use crontab to run PHP without using wget and lynx
1) The PHP script can run via SSH command line mode without problem
2) I can use crontab to run the PHP script with wget or lynx.
However,
3) The script will not run if i using below entry
1 2 * * * php /path/to/script/crontest.php
1 2 * * * php -q /path/to/script/crontest.php
1 2 * * * php -f /path/to/script/crontest.php
1 2 * * * /usr/local/bin/php - /path/to/script/crontest.php
1 2 * * * /usr/local/bin/php -f /path/to/script/crontest.php
1 2 * * * /usr/local/bin/php -q /path/to/script/crontest.php
Please give me some suggestion.
Thanks
Kam