Holiday Notice:

Please note that our team will be on holiday from 31st March to 2nd April 2025. During this period, there may be slight delays in our response time. We appreciate your patience and understanding.

Thank you for your continued support!

Okay
  Print

How to setup CRON Job to make unfeatured task if featured date as expired

How to setup CRON Job to make unfeatured task if featured date as expired

You can also use this plugin to run CRON manually https://wordpress.org/plugins/advanced-cron-manager/

Below is the hook that can be added to setup featured task

taskbot_update_featured_listing

After that, we need to set the cron job from cPanel for the wp-cron.php file located in WordPress root.

Go to the cPanel and then click on Cron Jobs

Then Setup a Cron Job according to your needs. 

Command will look something like that

wget -q - O - http://yoursite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1