Cron jobs are used to schedule a task at periodic fixed times, dates, or intervals on your WordPress site. WordPress cron jobs also used to set scheduling a post to publish, checking for updated or backup plugin running on a predefined time.
WordPress uses a file called WP-Cron.php, which is used to handle the cron activities. sometimes cron jobs take more server and CPU resources, which may cause website downtime. So to fix this issue, you can disable the wp-cron.php file using cPanel, no scheduled task works after disabling the cron file. The wp-config.php file controls the connection between the site’s data and the database.
Follow the step by steps process for disabling the wp-cron.php file.
Step 1: Log in to the web hosting panel.
Step 2: Navigate to File manager under the Files section.
Step 7: Click on Save changes.
Finally, You have successfully disabled the file of a wp-cron.php of your WordPress website. If you feel anything wrong in your website, you can remove the code from the wp-config.php file.
We hope that this tutorial will help you to How to Disable the wp-cron.php file for your WordPress site with the help of cPanel. For more details, follow us on social media like Twitter and Facebook.