mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
14 lines
203 B
PHP
14 lines
203 B
PHP
<?php
|
|
|
|
$sapiName = php_sapi_name();
|
|
|
|
if (substr($sapiName, 0, 3) != 'cli') {
|
|
die("cron can be run only via CLI");
|
|
}
|
|
|
|
include "bootstrap.php";
|
|
|
|
$app = new \Espo\Core\Application();
|
|
$app->runCron();
|
|
|