How to configure cron jobs to unpublish shops & shops products after package expiration?


Answer: There is an option with this add-on to unpublish the expired seller products & unpublish his shop. To do this automatically, you need to set up a cron job on your server.

  • To set a cron job login to your cpanel and find the Cron Jobs option.

  • Go to Cron Jobs

  • Add new Cron Job

  • Select time period of Every Day

  • Set command as wget -O - https://your-domain.com/seller-package-validation-check

  • After setting this cron job, this url will be hitted each day and this url will unpublish those shops & shops products whose package has expired.

×