From 7f4d4da3477e557e1e9fa64b89244dbc1002a9cf Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Mon, 22 Sep 2025 09:41:27 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?utf8?q?=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D1=83=20=D0=B4=D0=BB=D1=8F?= =?utf8?q?=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0=20=D0=BE=D1=81?= =?utf8?q?=D1=82=D0=B0=D1=82=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 121a1ae7..d9437817 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -186,6 +186,17 @@ class CronController extends Controller return 'ok'; } + //cron/one-c-balances + public function actionOneCBalances() + { + $req_id = time(); + $json_post = '{"request_id": "' . $req_id . '","balances":true}'; + + $this->setApiCron($req_id, $json_post); + + return 'ok'; + } + //cron/custom-one-c-cron public function actionCustomOneCCron() { -- 2.39.5