Tutorials

WordPress :: Using OS cron job

:: How to change wp cron to os cron job
+ add cron job on os cron

crontab -e
# add a line like this:
wget -q -O /dev/null //yourhostname.tld/wp-cron.php?doing_wp_cron >/dev/null 2>&1

+ disable wp-cron

vi wp-config.php
# add this line:
define('DISABLE_WP_CRON', true);

 
:: Links
+ Google
+ WPDaylyBits

Hi, I’m Sysadmin.ID

Leave a Reply

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