- 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.
Install OpenCart 2 on CentOS
This guide focuses on how to install OpenCart 2 on CentOS 6. Before proceeding with this guide, make sure your server have met the following requirements. Have LAMP (Linux, Apache, MySQL and PHP)ÃÂ installedÃÂ Guide to Install LAMP stack on CentOS 6 1. Download...
0 Comments