Anyone please help me
Domain: Godaddy
Hosting: VPS server
Name Server: MNS01.DOMAINCONTROL.COM
Name Server: MNS02.DOMAINCONTROL.COM
Below are test case scenarios i did and got the result
For cron.php file gave permission to 777
Minutes Hour Day Month Weekday set to * * * * *
Test 1:
/home/domain/public_html/cron.php
Result:
/home/domain/public_html/cron.php: line 1: ?php: No such file or directory
/home/domain/public_html/cron.php: line 2: syntax error near unexpected token `dirname'
/home/domain/public_html/cron.php: line 2: `chdir(dirname(__FILE__));'
Test 2:
/usr/bin/php -q /home/domain/public_html/cron.php
Result:
Nothing display
Test 3:
php -q /home/domain/public_html/cron.php
Result:
Nothing display
Test 4:
/usr/bin/php /home/domain/public_html/cron.php
Result:
X-Powered-By: PHP/5.4.33
Content-type: text/html
Test 5:
GET https://www.domain.com/cron.php
Result:
LWP will support https URLs if the LWP::Protocol::https module
is installed.
Test 6:
GET http://www.domain.com/cron.php
Result:
Nothing display
Test 7:
I replaced above all test cron.php replaced to cron.sh and tested. Got same result.
Test 8:
/home/domain/public_html/test.php
code:
<?php echo "hello world";?>
Result:
/home/domain/public_html/cron.php: line 1: ?php: No such file or directory
hello world
cron_scheduletable. At which point, I'd use phpMyAdmin to check for entries from all the times you got those blank results and concentrate on the ones where you got error messages. - Fiasco Labs