Setting up Cron Jobs at Godaddy is a bit tricky
You need to use the following path settings for different versions of PHP
| Hosting type | PHP version | Path |
|---|---|---|
| cPanel | 5.5 | /usr/bin/php |
| cPanel | 5.4 | /usr/local/bin/php |
| Plesk | 5.4 | /web/cgi-bin/php5_4 |
| Web & Classic | 5.3 | /web/cgi-bin/php5_3 |
| Web & Classic | 5.0-5.2 | /web/cgi-bin/php5 |
| Web & Classic | 4 | /web/cgi-bin/php |
Hence we need to choose a PHP version from the available (5.3 and 5.5)
Example (for PHP v 5.5)
/usr/bin/php “$HOME/public_html/test/mail/index.php”

No comments:
Post a Comment