1. Login to your cPanel account where your WordPress is Hosted.
2. Open File Manager.
3. Locate file wp-config.php
inside home directory of your WordPress site and edit.
4. Locate define(‘DB_COLLATE’, ”);
line inside wp-config.php
file and just below that line write the following flag.
/** Disable WordPress Cron define(‘DISABLE_WP_CRON’, true);
5. Save and Exit.
6. Goto Homepage of cPanel and Locate CronJobs feature and open it.
7. Go to Add a New Cron Job, select Common Settings and select option Once Per Hour
8. At the Command Field type the below command to run wp-cron.php once per hour
cd /home/your_username/public_html; php -q wp-cron.php
Note – Here your_username should be replaced with your cPanel Username and this command will run automatically after one hour cycle.
9. Tap on button Add New Cron Job
10. It will show message Cron Job successfully Added