Home » How to fix high server load due to wp-cron.php POST requests via the xneelo Control Panel
How to fix high server load due to wp-cron.php POST requests via the xneelo Control Panel
The information in this article is related to the new xneelo Control Panel. If you are still using konsoleH, refer to this article.
If your site or server is struggling with high load and you notice many wp-cron.php POST requests in the www logs, then the solution is simple: replace the virtual wp-cron with a real cron at your selected schedule.
WordPress uses a file called wp-cron.phpto handle scheduled tasks. By default, it runs every time someone visits your site, which can put unnecessary strain on your CPU and slow down busy sites. Since these tasks don’t need to run continuously, you can reduce how often they run and free up valuable hosting resources.
Instead of letting wp-cron slow down your site, you can disable it and let your system handle scheduled tasks in the background with a cron job.
Use FTP to access your server and navigate to the public_html folder
2
Add this line at the bottom of your wp-config.php file, just before the section that says /* That’s all, stop editing! Happy blogging. */: define(‘DISABLE_WP_CRON’, true);