WordPress Cron

To disable wordpress cronjob, add

define('DISABLE_WP_CRON', true);

to end of wp-config.php

Now you can set a cronjob with following code

Advertisement

*/5 * * * *  cd /var/www/html; php -q wp-cron.php
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement