• Resolved Franky

    (@liedekef)


    It seems sometimes mainwp blocks cronjobs. When this happens, this appears in the logs:

    [07-Jan-2023 06:20:01 UTC] Cron reschedule event error for hook: mainwp_child_cron_plugin_health_check_watcher, Error code: could_not_set, Error message: The cron event list could not be saved., Data: {“schedule”:”hourly”,”args”:[],”interval”:3600}

    I use the system cron to call wp cron every five minutes, but when this error arrives, cronjobs no longer get executed. The only solution I have is to deactivate the mainwp plugin, after which cronjobs start working again.

    Now, maybe this is related to object caching of some kind? I use acpu as caching mechanism. I now stopped using it (to verify if it is related).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Bojan Katusic

    (@bojankatusic)

    Hey @liedekef

    Please make sure that the MainWP Child plugin is up to date (4.3.1), and please let us know if stopping APCu helps.

    Also, make sure to turn off WP Cron on the MainWP Dashboard > Settings > Advanced Settings page.

    MainWP Child or Dashboard plugin by themselves certainly do not interfere with Cron, as several functions of them depend on it.

    • This reply was modified 1 year, 10 months ago by Bojan Katusic.
    Thread Starter Franky

    (@liedekef)

    Mainwp child has several crons:

    mainwp_child_cron_theme_health_check_watcher
    mainwp_child_cron_plugin_health_check_watcher
    mainwp_child_cron_theme_health_check_daily
    mainwp_child_cron_plugin_health_check_daily

    so it is of course possible that one is blocking the system (mainwp_child_cron_plugin_health_check_watcher in this case). But currently (after disabling apcu) it has not yet re-occurred. I’m keeping watch for now ??

    Plugin Support Bojan Katusic

    (@bojankatusic)

    @liedekef

    It’s been some time since we heard back from you. I’ll assume that the issue has been resolved and mark the thread as resolved.

    Thread Starter Franky

    (@liedekef)

    Indeed, the problem has not occurred again. Meaning either mainwp together with apcu is a bad combo, or it is related to apcu and wp cron …

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cron being blocked’ is closed to new replies.