1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sitemap cron should run daily

Discussion in 'XenForo Suggestions' started by imthebest, Sep 3, 2014.

  1. imthebest

    imthebest Formerly Super120

    I don't understand why it runs only 2 times a week. New content is generated everyday.

    It should run daily at around 00:30 where server load is less.
    ge66, eberkund, RoldanLT and 4 others like this.
  2. TJA

    TJA Well-Known Member

    So why not change the Cron entry to do that (y)
  3. Claudio

    Claudio Well-Known Member

    Search Engines doesn't need a sitemap in order to index a website...they just visit all the links and that's all.

    A sitemap is to help them to find everything you want but feel free to change the cron
  4. imthebest

    imthebest Formerly Super120

    I did that but unfortunately XF restores the cron when you update the software.
  5. BamaStangGuy

    BamaStangGuy Well-Known Member

  6. thedude

    thedude Well-Known Member

    Agreed...especially for busy sites. Should be run daily
  7. tajhay

    tajhay Well-Known Member

    Agreed x 2
  8. pegasus

    pegasus Well-Known Member

    IIRC, the current cron rebuilds the sitemap from scratch each time it runs. So running it daily would require a lot more work than it really needs to, especially on large forums.

    IMO, a cron should run daily that adds any new entries (filtering by last cron time should be sufficient) to an "updated" sitemap which would be mentioned in the sitemap index. Then once a month or something, have a cron that rebuilds the entire sitemap to cleanup deleted, moved content, and such and merges the "updates" into the main sitemap.
    imthebest likes this.
  9. nodle

    nodle Well-Known Member

    Agreed, daily.
  10. thedude

    thedude Well-Known Member

    Just an fyi, a sitemap takes very little resources of the server to build, even for large sites.

Share This Page