WordPress.org

Support

Support » Plugins and Hacks » Pushover Notifications for Jetpack » [Resolved] Stats notifications are worthless after moving to summer time

[Resolved] Stats notifications are worthless after moving to summer time

  • Until a week ago stats notification would be sent to the app at 23:00 Israeli time with valuable data. Summer time started here a week ago. Ever since then I am getting the notifications at 00:01. The stats I get is 0 views. I guess this is because that is the amount of visitors between 00:00 to 00:01. The site has 2000 visitors per day. Currently the notifications are useless. I tried deleting the plugin and installing it again. It did not help. Can you please fix this?

    http://wordpress.org/extend/plugins/pushover-notifications-for-jetpack/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Chris Klosowski

    @cklosows

    Hi Yoramzara,

    I will see if I can get this into a fix. The issue you are running into is that it’s calculating the traffic, after midnight…prior to the time changes for DST, 11pm was the scheduled time. I do have something to calculate the timezones, however this is one of the more difficult things to work with, give me a bit to try and fix it.

    I’ll have to try and mimic a timezone change with DST.

    Sorry about this, and thanks for the detailed report.

    Plugin Author Chris Klosowski

    @cklosows

    Quick Question,

    are you using a specific city in the timezone? or are you stating the +/- Timezone in the Settings->General of WordPress wp-admin?

    Jerusalem. The last days the notification came exactly at 00:00 so I got good stats. If it comes at 00:01 I get none.

    Plugin Author Chris Klosowski

    @cklosows

    @yoramzara,

    that’s what I would expect from this bug. the code pulls “today’s” stats, but the CRON schedule doesn’t really pick up on DST changes. I’ve pushed a DEVELOPMENT version to SVN if you wouldn’t mind installing that version and trying it out for a few days? It’s difficult to replicate some of the timezone issues and I’d appreciate your help in making sure I’ve done it correctly.

    http://downloads.wordpress.org/plugin/pushover-notifications-for-jetpack.zip

    This is the .zip of the dev version. If this works out for you I’ll make it the stable.

    Thanks again!,
    Chris

    I installed the plugin. I will keep you posted. In how many days do you want me to report?

    Plugin Author Chris Klosowski

    @cklosows

    Sorry for the delay, a day or two should be fine. I’ve asked a few people to try it out for me. If you have any issues with it leave the notes here and I’ll see what I can do to fix it up for you. I tried to do this by assigning the timezone to Jerusalem, and it all looked fine, but I’ve found that sometimes real-world data is much better than my local sandbox for validation.

    I got 0 again

    Plugin Author Chris Klosowski

    @cklosows

    @yoramzara

    Ok, and this ran at 00:01 again? After midnight your local time? Sorry for the delay in getting this fixed, between having to wait for the cron to run and our time differences it lends to some delays. I really appreciate you taking the time to help me out.

    I’m going to continue to look into this as well. Still trying to find a good solution to scheduled events and DST observation.

    Plugin Author Chris Klosowski

    @cklosows

    Ok, I’ve pushed another development version of the plugin, please go try and install that version (should be 1.0.2.1). Let that run for a day or two and let me know.

    I changed my direction at attempting to get stats and looks like there are a few more arguments available from the Jetpack stats module now.

    Plugin Author Chris Klosowski

    @cklosows

    Have you had any luck trying this out? I want to release this fix ASAP if it’s good to go.

    Thanks, Chris

    I installed it 3 days ago. So far so good.

    Plugin Author Chris Klosowski

    @cklosows

    Great! Thanks for testing that out. I’ll go ahead an push the new version as the stable.

    I really appreciate your help in narrowing down and fixing this bug.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Stats notifications are worthless after moving to summer time’ is closed to new replies.
Skip to toolbar