• Resolved marklft

    (@marklft)


    I noticed our database growing uncontrollably, with the aio_wps tables being the culprit. Following some research I found this was caused by the missing cron jobs. So as instructed I de-activated the plug and re-activated it again.

    This time the daily job was there, but not the hourly. I tried to change the daily job to be an hourly job, when ran, the hourly job disappeared and the daily job came back.

    So I added a new hourly cron job using the hourly hook, again, when run the hourly job disappeared.

    Can someone please tell me what I am doing wrong? How do I get both cron jobs to run as I believe they are supposed to?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you enable debug mode then carry out another test. Afterwards, check the log file and see if anything shows up. Let me know how you go.

    Thank you

    • This reply was modified 5 years, 7 months ago by mbrsolution.
    Thread Starter marklft

    (@marklft)

    Turn on debugging where? Test what? Please be more specific in what you want me to do?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    My apologies for not been more specific.

    Go to WP Security -> Settings and enable Enable Debug: option.

    This feature controls the following log files wp-security-log.txt and wp-security-log-cron-job.txt. These files are found in the following folder /plugins/all-in-one-wp-security-and-firewall/logs/. To view these log files go to WP Security -> Dashboard -> AIOWPS Logs.

    Then try to create a cron job. Afterwards check the log file to see if the log file reveals any information.

    You can also check your server log files. To do this go to Filesystem Security -> Host System Log.

    Let me know how you go.

    Thank you

    Thread Starter marklft

    (@marklft)

    I switched on debugging as described.

    Manually creating the cron job and running it did not log anything.

    Deactivate and Reactivate the plug logged the following

    wp-security-log

    [2020-10-09 14:49:08] – SUCCESS : The AIOWPS .htaccess rules were successfully re-inserted!
    [2020-10-09 14:49:13] – FAILURE : AIOWPSecurity_Deactivation::run_deactivation_tasks() – Original config settings not found!
    [2020-10-09 14:49:13] – CRITICAL : AIOWPS encountered an error when trying to write to your .htaccess file. Please check the logs.

    wp-security-log-cron-job

    Empty

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, it looks like you have other issues. Please try the following plugin https://ww.wp.xz.cn/plugins/health-check/. Let me know what it finds.

    Thank you

    Thread Starter marklft

    (@marklft)

    We are not experiencing any other issues.

    Health check find no issues, with two recommendations.

    1. Remove unused plug-in Akisnet

    2. Install optional PHP module imagick

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, I just carried out a test in my dev site and I have both cron jobs running. So I can say the cron jobs work. Something in your site is stopping the hourly cron job from working. You can try a plugin conflict test. See if this helps you.

    Kind regards

    Thread Starter marklft

    (@marklft)

    I have absolutely minimal plug-ins, all very common ones with 500,000+ users each.

    The only problems I have all resolve around using All In One Security, so from my point of view, the problem is with it. So better I stop using it and find another security plug-in to use.

    Thanks for your help.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, that might be the best solution for you. I hope you find a security plugin that works well in your site. I will mark this support thread as resolved.

    All the best.

    Kind regards

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Missing Cron Jobs’ is closed to new replies.