-
Notifications
You must be signed in to change notification settings - Fork 1
Scheduled Notifications for Favorite Eateries #97
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
base: master
Are you sure you want to change the base?
Conversation
…nd into notifications
skyeslattery
left a comment
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.
We're switching auth to use GET instead of google - should we wait until thats merged and then add notification logic in auth routes? otherwise lgtm
| RUN mv ./cron/notify_eatery_events.txt /etc/cron.d/notify_eatery_events | ||
| RUN chmod 0766 manage.py | ||
| RUN crontab /etc/cron.d/update_db | ||
| RUN crontab /etc/cron.d/notify_eatery_events |
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.
These RUNs could be combined, but keeping them separate might be better for debugging. @Aayush-Agnihotri ?
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.
yeah what skye said above is true but i think its fine that way it is, it makes it easy to follow and less complicated
Aayush-Agnihotri
left a comment
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.
lgtm
Overview
Schedule notifications 30 minutes before a user's favorite eateries open or close.
Changes Made
scheduleDailyNotificationsfunction to schedule notifications in Cloud Tasks. These notifications will be sent out at the appropriate time.Test Coverage
Screenshots