-
Notifications
You must be signed in to change notification settings - Fork 2
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
UHN-BS-34 #82
base: master
Are you sure you want to change the base?
Conversation
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.
Good. This wouldnt work when the csv is too big, i.e. bigger than the maximum allowance of email messages + attachments. I think its around 25mb to 35mb. I am assuming it would quickly reach that number and all the emails will error out. What do you think could be the solution?
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.
Whats the .gitkeep for?
It's to add the metricData folder to git. If you don't want it there's a package that creates a directory instead. |
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.
Change setTimeout to a node-cron job.
Generates a CSV file from PostgreSQL data and emails it to a given address.