Jump to content

Задачи обслуживания не запускаются. ЧТо это такое ?


Litesm

Recommended Posts

Товарищи что это такое за оповещение ? У меня задачи Cron выполняются на хостинге.

Снимок экрана 2021-01-27 в 15.25.25.png

а вообще есть разница откуда выполнять задачи Cron ? Лучше, чтобы это делалось с хостинга или внутри самого движка ?

Link to comment
Share on other sites

Litesm нужно крон настроить.

и на файл таск.пшп поставить права 777

Спойлер

2.thumb.png.614c0eb366ed2c0478c62f2a26042973.png

 

Link to comment
Share on other sites

1 час назад, SlawkA сказал:

Litesm нужно крон настроить.

и на файл таск.пшп поставить права 777

  Показать контент

2.thumb.png.614c0eb366ed2c0478c62f2a26042973.png

 

тут то всё настроено...
Вот зашел на почту а тут отчет от Cron

Спойлер

Exception:
IPS\Db\Exception Object
(
    [query] => SELECT * FROM( ( SELECT 'core_applications' AS `table`, app_directory AS `id`, app_update_check AS `url`, app_update_last_check AS `last`, app_long_version AS `current`, app_marketplace_id as `marketplace_id` FROM `core_applications` WHERE app_update_last_check< AND ( ( app_update_check<>'' AND app_update_check IS NOT NULL ) OR app_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_plugins' AS `table`, plugin_id AS id, plugin_update_check as url, plugin_update_check_last AS last, plugin_version_long AS `current`, plugin_marketplace_id as `marketplace_id` FROM `core_plugins` WHERE plugin_update_check_last< AND ( (plugin_update_check<>'' AND plugin_update_check IS NOT NULL ) OR plugin_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_themes' AS `table`, set_id AS `id`, set_update_check AS `url`, set_update_last_check AS `last`, set_long_version AS `current`, set_marketplace_id as `marketplace_id` FROM `core_themes` WHERE set_update_last_check< AND ( (set_upda!
 te_check<>'' AND set_update_check IS NOT NULL ) OR set_marketplace_id IS NOT NULL ) ) UNION ( SELECT 'core_sys_lang' AS `table`, lang_id AS `id`, `lang_update_url` AS `url`, `lang_update_check` AS `last`, `lang_version_long` AS `current`, `lang_marketplace_id` as `marketplace_id` FROM `core_sys_lang` WHERE lang_update_check< AND ( (lang_update_url<>'' AND lang_update_url IS NOT NULL ) OR lang_marketplace_id IS NOT NULL ) )) derivedTable ORDER BY last ASC LIMIT 1
    [binds] => Array
        (
        )

я так понял это ошибка "updateCheck?"

далее 

    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ( ( app_update_check<>'' AND app_update_check IS NOT NULL ) OR app_marketpla' at line 1
    

Спойлер

[string:Exception:private] =>
    [code:protected] => 1064
    [file:protected] => /home/мояБД/forum/system/Db/Db.php
    [line:protected] => 638
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/мояБД/forum/system/Db/Select.php
                    [line] => 383
                    [function] => preparedQuery
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            
            [3] => Array
                (
                    [file] => /home/мояБД/forum/applications/core/tasks/updatecheck.php
                    [line] => 101
                    [function] => first
                    [class] => IPS\Db\_Select
                    [type] => ->
                    [args] => Array
                        (
                        )
                )

            [4] => Array
                (
                    [file] => /home/мояБД/forum/system/Task/Task.php
                    [line] => 367
                    [function] => IPS\core\tasks\{closure}
                    [class] => IPS\core\tasks\_updatecheck
                    [type] => ->
                    [args] => Array
                        (

я вообще ноль в понимании это:(го ....
           

Edited by Litesm
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...