feedcron sets hit counters to 0

6 years 1 day ago - 6 years 1 day ago #2668 by krogh

Due to a large number of feeds, I've started invoking feedcron.php from cli, as described somewhere in the forum.
This method seems to reset the hits counter for all items, but only sometimes (with a few days interval)

Does anyone have an idea about what could be the reasen and how to fix it, or at least debug it?

Update: It seems like the hit counters are reset the first time feedcron.php is invoked from cli after it has been invoked through apache.

In other words, if I manually updates the feeds from the administration gui, the next time my cron job runs, all hits are set to zero.


/Morten



  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Last Edit: 6 years 1 day ago by krogh. Reason: More analysis performed..

    Please Log in to join the conversation.

    6 years 10 hours ago #2671 by bram

    Hits are not reset during the import process and there shouldn't be a different between running the CLI or the web based import.

    it is very difficult to find and update existing items, the importer does it's best however whenever in doubt it simply deletes old items and adds new ones. ( www.affiliatefeeds.nl/en/46-general/3103-unique-items.html ) that might be a reason

    another problem might occur whenever several instances of the importer run at the same time.



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    6 years 9 hours ago #2673 by krogh

    Thanks for the answer.

    I guess it requires a deeper knowledge of the datamodel of each feed than I currently have.

    I the meantime I've found your cron.pl script in the dutch documentation (you should really mention this in the english doc as well), and it has been running last night without resetting the hit counters.
    I'll conclude on that experiment when it has run a few days.

    Also I'll take a look at how unique items are identified for each feed.



  • Posts: 5
  • Thank you received:

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.050 seconds
    Powered by Kunena Forum