[*] MQ правки немедленное выполнение и приоритеты
This commit is contained in:
1 parent
5ff55bf7c7
commit
66c58559c7
4 files changed
+63
-11
No files matched your search
@@ -3,10 +3,12 @@
|
||||
|
||||
require_once __DIR__ . '/bootstrap.php';
|
||||
|
||||
use Core\Helpers\SystemFunctions;
|
||||
use Core\Models\MQ;
|
||||
|
||||
try {
|
||||
(new MQ())->run();
|
||||
} catch (Throwable $t) {
|
||||
SystemFunctions::sendTelegram('CRON: Произошла ошибка' . PHP_EOL . $t->getMessage() . PHP_EOL . 'File: ' . $t->getFile() . PHP_EOL . 'Line: ' . $t->getLine());
|
||||
echo 'Error: ' . $t->getMessage() . ' / line: ' . $t->getLine();
|
||||
}
|
||||
Reference in new issue
Block a user