The date of email reports is not yesterday but the day before yesterday


#1

piwik version is 2.0.3.

Here is my config:
Email Schedule: Daily
Send report at 1 o’clock

But when I received the email, I find the date is THE DAY BEFORE YESERTAY.
When I set “Email Schedule” to “Weekly”, the email sends on TUESDAY not MONDAY.

My php timezone is correct, and the time is also correct. What’s the matter? How can I find the reason?


(Matthieu Aubry) #2

can you try with 2.1 RC ? 301 Moved Permanently

also check your cron tab: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo is running every hour


#3

I will give a try the newest version.
But I have set the crontab.

$ cat /etc/cron.d/piwik-archive
MAILTO="mymail@mydomain.com"
5 * * * * www-data /usr/bin/php5 /usr/local/piwik/misc/cron/archive.php – url=http://127.0.0.1/piwik/ > /usr/local/piwik/piwik-archive.log

Sometimes the email reports are not sending. On tuesday the weekly email reports are sending. So I think the day has lagged behind 1 day. My server time is correct, and php time is also correct. I don’t know how to solve.


#4

@matt

I find 2.1 RC can install a new plugin “Scheduled Tasks”, it’s useful.

Here is what I see:

[attachment 1580 temp.png]

My timezone is CST(Aisa/Shanghai), the real time is “Tue Feb 18 18:33:50 CST 2014”.

You might omitted the timezone(force use UTC instead?)? So I received the reports about the day before yesterday?

Thanks.


#5

Sorry , the issue is still exist. Might be the wrong timezone?


#6

OK. When I set “Send report at 8 o’clock”(UTC time is 0 o’clock), it works. The date of email reports is yesterday.