Skip to content

Change Drop Off Report job data to be weekly instead of monthly#10630

Merged
Jeremy1026 merged 5 commits intomainfrom
jcurcio/lg-12217-configure-sending-drop-off-report
May 15, 2024
Merged

Change Drop Off Report job data to be weekly instead of monthly#10630
Jeremy1026 merged 5 commits intomainfrom
jcurcio/lg-12217-configure-sending-drop-off-report

Conversation

@Jeremy1026
Copy link
Copy Markdown
Contributor

🎫 Ticket

Link to the relevant ticket:
LG-12217

🛠 Summary of changes

Change the job to be weekly instead of monthly based on conversation in slack

Copy link
Copy Markdown
Contributor

@h-m-m h-m-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to find anywhere else in the code where we reference this report pulling monthly data

# Weekly drop of report
drop_off_report: {
class: 'Reports::DropOffReport',
cron: cron_24h,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that the report runs every night to show the past week's worth of data?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering about this too..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. Good point. Should this be cron_1w instead? Or is there logic in the report to determine when it actually runs? 🤔

@Jeremy1026 Jeremy1026 merged commit 2b1c872 into main May 15, 2024
@Jeremy1026 Jeremy1026 deleted the jcurcio/lg-12217-configure-sending-drop-off-report branch May 15, 2024 14:26
# Weekly drop of report
drop_off_report: {
class: 'Reports::DropOffReport',
cron: cron_24h,
Copy link
Copy Markdown
Contributor

@Sgtpluck Sgtpluck May 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cron: cron_24h,
cron: cron_1w,

@amirbey amirbey mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants