cron help! (1and1 shared server)

WORKING!!! I read on the following link of someone who had the same issue:

http://forums.sugarcrm.com/f3/help-sugar-6-5-throwing-cron-php-cli-only-error-80983/

I had to comment out line 47-50
$sapi_type = php_sapi_name();
if (substr($sapi_type, 0, 3) != ‘cli’) {
sugar_die(“cron.php is CLI only.”);
}

Now it runs perfect.

1 Like