Vtiger crm 7.1.0

What I found is this suggestion:

  • set up cron in server
  • when cron runs - vtigercron.php , check the value of this variable - PHP_SAPI and update to this if condition -

if(PHP_SAPI === “cli” || (isset(_SESSION["authenticated_user_id"]) && isset(_SESSION[“app_unique_key”]) && $_SESSION[“app_unique_key”] == $application_unique_key)){

Suggestion is to change “cli” in line PHP_SAPI === “cli” to something else. But I donw know what.
And another task, if I check crontab -l, response is “no crontab for root”.

Thanks.