• Resolved qeyduey

    (@qeyduey)


    Hello,

    I keep receiving a message from my WP cron job stating the following:

    The cache was just cleared as it was not cleared in the past 24 hours.<br />

    I have tracked this email down to the “Asset CleanUp: Page Speed Booster” plugin stemming from the following file directory:

    wp-asset-clean-up/classes/Maintenance.php

    Can you please explain how I can disable this email from being sent?

    Thanks in advance for your help. =D

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @qeyduey there’s a cron job indeed whenever the cached is left uncleared after 24 hours. Now, after checking the code, it shouldn’t print that message which is intended for developers.

    Perhaps you’re using a tool that emails you whenever a cron job has something printed. I’ve made a change that will remove that message. Can you re-install the Lite version using the instructions from the following link? https://www.assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/ (it’s the development version you need to add)

    Let me know if this fixes it! It should because there will be no output whenever the cron job is triggered ??

    Thread Starter qeyduey

    (@qeyduey)

    Hey Gabe,

    Thank you for the reply! =D

    Just to clarify: We’re not using any additional tools or plugins that are triggering this email. We were actually able to track this down from the server level, which is how we were able to narrow it down to your plugin in the first place. See below:

    ==
    [root@michelin plugins]# grep -r “The cache was just cleared” *
    wp-asset-clean-up/classes/Maintenance.php: echo ‘The cache was just cleared as it was not cleared in the past 24 hours.br /’;
    ==

    Thanks for the fix though! =D

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cron Job Cache Clear Message’ is closed to new replies.