Skip to content
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

Implements a scheduled task that migrates all members to attendance table at midnight #3

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

Wreck-X
Copy link
Member

@Wreck-X Wreck-X commented Jul 2, 2024

This pull request introduces a scheduled task in our Rust project to automate the migration of member attendance records to the attendance table daily at midnight. The task ensures that all current members' attendance data is accurately recorded and maintained.

Changes Made:

Implemented a scheduled task using Rust's asynchronous capabilities to trigger at midnight.
Integrated logic to fetch members' attendance data and migrate it to the attendance table.

@Wreck-X Wreck-X requested a review from ivinjabraham July 2, 2024 15:19
src/db/attendance.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/graphql/mutations.rs Outdated Show resolved Hide resolved
src/graphql/query.rs Outdated Show resolved Hide resolved
ivinjabraham
ivinjabraham previously approved these changes Aug 13, 2024
Copy link
Member

@ivinjabraham ivinjabraham left a comment

Choose a reason for hiding this comment

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

Eh, ok.

@ivinjabraham ivinjabraham merged commit 4fcd2cc into master Aug 13, 2024
1 check passed
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.

2 participants