- Add this code to wp-config.php
define( 'DISABLE_WP_CRON', true );
- SSH into web server.
- Run bash command and an editor in nano will appear.
export VISUAL=nano; crontab -e
- Add line to editor. Note: to replace “yourdomain” with the URL of your WordPress site.
*/1 * * * * curl -s -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)" https://yourdomain/wp-cron.php?doing_wp_cron > /dev/null 2>&1
- That’s it. This should run your WordPress cron jobs every 1 minute.
Installing Webmin on CentOS/RHEL 5/6/7 and Fedora 20/21
Wedmin is a web-based interface for you to manage your linux systems. It allows you to setup user accounts, configure cron jobs, manage Apache and many more. 1. Download Webmin RPM cd /opt wget http://www.webmin.com/jcameron-key.asc wget...
0 Comments