mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
24 lines
571 B
PHP
24 lines
571 B
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
/* crmv@91571 */
|
|
|
|
require_once('include/utils/MassEditUtils.php');
|
|
|
|
// this is to run the process directly from the terminal
|
|
$importid = intval($_REQUEST['massid']);
|
|
|
|
$MUtils = MassEditUtils::getInstance();
|
|
|
|
$r = true;
|
|
if ($importid > 0) {
|
|
$r = $MUtils->processCron($importid);
|
|
} else {
|
|
$r = $MUtils->processCron();
|
|
}
|
|
|
|
if (!$r) {
|
|
echo "Error during the MassEdit.\n";
|
|
} |