1. Home
  2. Docs
  3. Compare Affiliated Products
  4. General
  5. Cron


Compare Affiliated Product is made to work out of the box. A cron scheduler is ready to be fired by wp-cron. But It’s possible to add a real cron to choose your own schedule or to gain performance.

simply execute periodically the following php file:


example to launch the script each 4 hours:

* */4 * * * cd real/path/to/compare-affiliated-products-premium/ && php cron.php

It will create a file on your site’s root called compare.txt to avoid the script running twice.

Was this article helpful to you? Yes No

How can we help?