-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregate most viewed products report daily via a Cron job #1829
Aggregate most viewed products report daily via a Cron job #1829
Conversation
Cron schedule should be customizable. (?) How about to a add it to configuration? |
@sreichel This change was mainly to stay consistent with all the other reports that get refreshed every day at midnight (also hardcoded). Allowing to customize this can be handled in a separate PR. |
@addison74 Will appreciate a review to bump this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The branch rebasing added an unwanted commit: 17128ba.
253d416
52b0974
to
253d416
Compare
@Flyingmana @luigifab Rebased on top of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this solution, but I will prefer adminhtml cron expressions settings, but this is for another PR :-)
Description (*)
This PR will add a Cron job to aggregate most viewed products report daily at midnight. I added this Cron job in the
Mage_Reports
module instead ofMage_Catalog
because that's where the aggregator model resides, I just wanted to keep them in the same place.Fixed Issues (if relevant)
Manual testing scenarios (*)
n98-magerun
:Contribution checklist (*)