Support » Plugin: Health Check & Troubleshooting » Plugin Not Compatible with Real Cron Job

  • Resolved jetxpert

    (@jetxpert)


    Hi there,

    When

    define(‘DISABLE_WP_CRON’, false);

    your plugin works like a charm.

    When

    define(‘DISABLE_WP_CRON’, true);

    and we’re using a Real Cron Job, your plugin does not. We get numerous, varying errors in our Site Health panel (many false positives).

    Any suggestions on how to fix this? Using WP_CRON is not always the best way to run cron jobs for multi-sites or sites with multiple plugins.

    Our System Status (to aid in troubleshooting):

    WordPress Version: 5.2.1
    Server: Apache
    PHP Version: 7.3.6
    MYSQL Version: 5.6.40
    Multisite: No

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    I was alerted to your other topic about this, so I’ll just copy-paste my response from there for completeness sake 🙂

    Hiya,

    So this is an actual issue with the checker it self, you are quite right 🙂

    It’s a bit too strict right now, and we will be loosening up the Cron check, because of it’s nature, it sort of relies on when the cron ran, more so than when it should run right now.

    There’s nothing wrong with replacing the pseudo-cron in WordPress with a real one from your system (it’s actually preferred in many ways, because then you know it’ll run regardless of how active your site is), and although that was taken into consideration, the current implementation does fail now and then when things are actually OK (even for those using the pseudo-cron).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.