I've developed my application in Node.JS running into a container in docker-compose. Now, I want to implement a CRON for sending notification e-mail to notify our customers, and I would like to reuse the email module that I developed in the system. My questions is:
1 - Should I run the node-cron in the same container that my application is running?
2 - Should I create a container exactly as the r one that my application is running only to run the Cron?
Thank you guys.