<?php
$res=exec('php -f /home/bitrix/www/local/tools/tets_cron.php');
var_dump($res);
<?php
define('AUX_NO_PERSISTENT', true);
define('BX_CRONTAB', true);
define('NO_AGENT_CHECK', true);
define('NO_KEEP_STATISTIC', true);
define('NOT_CHECK_PERMISSIONS', true);
$pathParts = explode('/', dirname(__FILE__));
$_SERVER['DOCUMENT_ROOT'] = implode('/', array_slice($pathParts, 0, -2));
//var_dump($_SERVER['DOCUMENT_ROOT']);
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
echo 'Start';