Jump to content

[SOLVED] Layered Navigation, price indexing and cron


Recommended Posts

Just a tip in case anyone else has a problem setting up a cron job to handle automatic price indexing.

 

Within the Layered Navigation configuration is the following advice

 

You can set a cron job that will rebuild price index using the following URL:
http://example.com/modules/blocklayered/blocklayered-price-indexer.php?token=9b750b90b0&full=1

 

 

This may not work, because of the query variables. It might be necessary to change the cron string to this:

 

You can set a cron job that will rebuild price index using the following URL:
wget - q "http://example.com/modules/blocklayered/blocklayered-price-indexer.php?token=9b750b90b0&full=1"

 

2 things to note. "wget" is added to the beginning and the url is wrapped in quotes. The "-q" runs wget in quiet mode. No output.

Edited by batman42ca (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...
Guest locen

Just a tip in case anyone else has a problem setting up a cron job to handle automatic price indexing.

 

Within the Layered Navigation configuration is the following advice

 

 

This may not work, because of the query variables. It might be necessary to change the cron string to this:

 

 

2 things to note. "wget" is added to the beginning and the url is wrapped in quotes. The "-q" runs wget in quiet mode. No output.

This is the way to enter cron job for block layered?

Link to comment
Share on other sites

×
×
  • Create New...