Support » Plugin: Delete Duplicate Posts » run every minute not work

  • Resolved naguchennai

    (@naguchennai)


    run every minute some time not work. we need manual cron setting link.. becouse of lotof time setting problem no one fixed it.. we need cron link for manual run

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lars Koudal

    (@lkoudal)

    Hello naguchennai

    WordPress’s internal CRON system does not run the same way as a regular CRON job.

    To make sure the CRON job runs every minute, you need to tweak the default WordPress CRON setting and get your server to ping the website every minute.

    Siteground has a good tutorial on it. If you are hosted somewhere else you can still use the information here: https://www.siteground.com/tutorials/wordpress/real-cron-job/

    @lkoudal
    If I understood correctly, if I set it up at 5 minutes, and I have define(‘DISABLE_WP_CRON’, ‘true’); in wp-config.php but I have cron on my server, I have to set it up at 5 minutes or less to make it work?

    Plugin Author Lars Koudal

    (@lkoudal)

    Hello @boyansharic

    Yes, you have to have the same interval or smaller on your server CRON job.

    If you set the interval to 5 minutes and then the CRON job to every 10 minutes, it means it would only run every 10 minutes.

    WordPress CRON system is more like a queue system.

    You can set up a UNIX CRON job to run every minute, and then it just checks if there is anything that needs to be done.

    Thank you @lkoudal

    I have my cron set up on server but I didn’t know that a period of 1 minute is OK.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘run every minute not work’ is closed to new replies.