• Resolved amee

    (@ameephillips)


    Why in my cron jobs can I see

    hook: wp_database_optimization_cron
    action: SiteGround_Optimizer\Database_Optimizer\Database_Optimizer_Background->handle_cron_healthcheck()

    Despite having scheduled database maintenance toggled off?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Vladimir Trandev

    (@vtrandev)

    Hello @ameephillips,

    Have in mind that the “Scheduled Database Maintenance” hook is:

    siteground_optimizer_database_optimization_cron

    You can verify the above information by activating/deactivating the mentioned option in your dashboard.

    However, if this is not the case, please provide us with your domain.

    Regards,
    Vladimir

    Thread Starter amee

    (@ameephillips)

    Hi,

    I’m confused by this response. Are you suggesting that the cron event I referenced does not originate from this plugin?

    I know that the cron event is taking place because whenever a particular table in my database is optimised it crashes my website. It is why when I saw my website was crashed I immediately knew to check my cron events for evidence of your plugin having run database optimisation (despite the fact I had toggled it to off when I previously identified that it was crashing my website). Sure enough the timing of this cron event correlates precisely with when the website crashed.

    I deleted the cron event, but there is one scheduled for this Friday, this time with the hook:

    siteground_optimizer_database_optimization_cron

    and the action:

    SiteGround_Optimizer\Database_Optimizer\Database_Optimizer->optimize_database()

    Screenshots taken moments ago of both the cron event scheduled and the database optimisation being toggled off are below:

    https://ibb.co/nkFsFD7
    https://ibb.co/rKB4X68

    Thread Starter amee

    (@ameephillips)

    I just toggled the setting on and off and it appears to have now removed the cron event. I’m not sure what caused it to schedule a database maintenance event since I haven’t touched the setting in many months. Perhaps it was linked to me recently updating the plugin.

    I will be sure to check when I update this plugin in future since for me the impact of it occurring is the site requiring a full restore.

    Plugin Support Dimitar Petrov

    (@demiro)

    @ameephillips,

    Thank you for the update.

    We will perform further tests on our end in order to confirm if the update was the origin of the issue and our developers will be notified.

    We are glad to hear that you have managed to resolve the issue.

    Best Regards,
    Dimitar Petrov

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Database optimisation occurring without permission?’ is closed to new replies.