Holiday Notice:

Please note that our support services will be unavailable from Friday, 6th June 2025 to Monday, 09th June 2025 due to the public holidays.

You may still submit tickets during this period, but responses may be delayed. Our team will resume normal operations on Tuesday, 10th June 2025, and will address your inquiries as soon as possible.

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