require "<<basedir>>/app/bootstrap.php";$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);$obj = $bootstrap->getObjectManager();$scheduleid = <<scheduleid>>;$state = $obj->get("Magento\Framework\App\State");$state->setAreaCode("crontab");$areaList = $obj->get("Magento\Framework\App\AreaList");$logger = $obj->get("mojoCronLogger");$areaList->getArea("crontab")->load("translate");try {$instance = $obj->get("<<instance>>");$schedule = $obj->get("\Magento\Cron\Model\Schedule")->load($scheduleid);$instance-><<method>>($schedule);} catch (Throwable $exception){$logger->critical($exception);throw $exception;}
