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

imthebest

Well-known member
#1
Hi,

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?

Thanks,
Super120
 

Mike

XenForo developer
Staff member
#2
Yes, you would need to. There isn't really a reason to change them though. It doesn't affect how they function.
 

imthebest

Well-known member
#3
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?
 

Mike

XenForo developer
Staff member
#4
The day period for the stats is always based on GMT, regardless of when the cron runs (whose runtime itself is based on GMT).
 
Top