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

Coffee chat cron #214

Merged
merged 3 commits into from
Jun 7, 2022
Merged

Coffee chat cron #214

merged 3 commits into from
Jun 7, 2022

Conversation

alexz429
Copy link
Collaborator

@alexz429 alexz429 commented Jun 4, 2022

Related Issues

Resolves #83

Summary of Changes

Setup cronjob for coffeematch to run every friday at 10am ET.
Added cronjob start in ready.ts
Changed alertMatch to statis function to allow external calls from the cronjob.

Steps to Reproduce

Modify coffeeChatCron's schedule (the 6 digit string) to activate the cronjob at whatever time you are testing.

EdwinYi-JanYang and others added 3 commits May 28, 2022 22:04
Added cron to send coffee chats every friday at 10:00 UTC
Updated Coffee Chat Message
Copy link
Collaborator

@marko-polo-cheno marko-polo-cheno left a comment

Choose a reason for hiding this comment

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

it looks fine... but... I don't want things to burn down.
Can u test this on a say 5 min interval in test server?
if u have, just reference the msg and i'll approve :)

@marko-polo-cheno marko-polo-cheno self-requested a review June 5, 2022 15:20

// Match coffeechat users every week on Friday
export const createCoffeeChatCron = (): CronJob =>
new CronJob('0 0 14 * * 5', async function () {
Copy link
Collaborator

Choose a reason for hiding this comment

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

add a comment for what this is in terms of IRL time plz

@alexz429 alexz429 merged commit 1fe16b0 into master Jun 7, 2022
@Picowchew Picowchew deleted the coffeeChatCron branch August 25, 2022 16:06
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.

Create a weekly cron job to automatically run the matching algorithm without mod approval.
3 participants