+ Reply to Thread
Results 1 to 2 of 2

Thread: Cron Job- Automatically refresh for Recalculate the number of listings

  1. #1
    Senior Member
    Join Date
    Nov 2016
    Posts
    106

    Cron Job- Automatically refresh for Recalculate the number of listings

    I recommend an option in admin panel- Cron Jobs for refresh "Recalculate the number of listings in all categories" automatically.
    Because, Listings numbers need Recalculation very often. The administrator selects a time interval and the operation is been automatially.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,250
    Helo Halit,

    In fact, we've already considered this option but in some cases recalculating listings (besides the other operations) may slow down the server when there are many listings

    But you can manually implement it in your cron file: go to ftp > cron > index.php

    add at the bottom of the file the following code:

    PHP Code:
    Only registered members can view the code
    Now listings will be recounted per each cron running

+ Reply to Thread