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

XF 1.4 "Daily Clean Up" and "Record Daily Statistics"

Discussion in 'XenForo Questions and Support' started by imthebest, Jul 21, 2015.

  1. imthebest

    imthebest Formerly Super120


    I see that the default schedule for these cronjobs is as follows:
    • Record Daily Statistics - daily, 00:30
    • Daily Clean Up - daily, 03:00
    The problem is that my forum uses GMT -5 so what I have been doing is that after every upgrade I changed both to:
    • Record Daily Statistics - daily, 05:00 (so it runs at 00:00)
    • Daily Clean Up - daily, 05:02 (so it runs at 00:02)
    The question is: do I need to keep doing this after every upgrade?

  2. Mike

    Mike XenForo Developer Staff Member

    Yes, you would need to. There isn't really a reason to change them though. It doesn't affect how they function.
  3. imthebest

    imthebest Formerly Super120

    The reason why I'm changing them is because I think that for example the "Record Daily Statistics" by default would assume that my forum starts a day at 19:30 so it would report my daily statistics measuring every day from 19:30 to 19:29 instead of 00:30 to 00:29.

    Or is the system aware of the timezone?
  4. Mike

    Mike XenForo Developer Staff Member

    The day period for the stats is always based on GMT, regardless of when the cron runs (whose runtime itself is based on GMT).

Share This Page