- 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.
How to create Apache htpasswd file in Linux OS?
What is htpasswd? At times during web development, we will need to prevent theÃÂ whole world from being able to access a particular website. That's when Apache htpasswd comes into the picture. htpasswd is usually used together with htaccess. Tutorial This tutorial...
0 Comments