WordPress wp-cron Disable
In this article, we will explain how you can disable the wp-cron.php file, which is one of the frequently performed actions to reduce WordPress Resource Consumption.
Disabling wp-cron.php file:
We can now make WordPress ignore the wp-cron.php file by adding the following command to the wp-config.php file.
define ('DISABLE_WP_CRON', 'true');
WordPress will no longer automatically run the wp-cron.php script if your site gets a new visitor.
Manually Running Wp-cron.php File
You can add the following command to scheduled tasks by editing it according to the root directory of your website in the cPanel or Plesk panel.
Command for cPanel:
php -q /home/servercozumleri/public_html/wp-cron.php
Command for Plesk:
php -q /var/www/vhosts/sunucucozumleri.com/httpdocs/wp-cron.php
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
207 2
-
How to Grant Windows Administrator Privileges?
184 0
-
How to install Webmin on Ubuntu?
803 2
-
Linux SSH Terminal Commands and Explanations
682 3
-
CentOS Stream 10 Update Commands
768 1
-
CentOS Stream 9 Update Commands
1112 1
-
CentOS Stream 8 Update Commands
621 0
-
What is FreeBSD?
765 2
-
Out: 452 4.3.1 Insufficient system storage
708 2
-
Turning Off Automatic Updates in Windows Operating Systems
822 0