* SPDX-License-Identifier: AGPL-3.0-only ************************************/ /* crmv@202577 */ require_once('include/utils/MassCreateUtils.php'); // this is to run the process directly from the terminal $importid = intval($_REQUEST['massid']); $MUtils = MassCreateUtils::getInstance(); $r = true; if ($importid > 0) { $r = $MUtils->processCron($importid); } else { $r = $MUtils->processCron(); } if (!$r) { echo "Error during the MassCreate.\n"; }