Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev
This commit is contained in:
commit
23ac893d3b
@ -42,5 +42,5 @@ COPY --from=builder --chown=lecoffreuser leCoffre/src/common/databases ./src/com
|
||||
|
||||
USER lecoffreuser
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "run", "api:start"]
|
||||
EXPOSE 3001
|
@ -8,6 +8,7 @@ export default class CronService {
|
||||
constructor(private mailchimpService: MailchimpService) {}
|
||||
|
||||
public async sendMails() {
|
||||
|
||||
const cronJob = new CronJob("*/15 * * * * *", async () => {
|
||||
try {
|
||||
await this.mailchimpService.sendEmails();
|
||||
|
Loading…
x
Reference in New Issue
Block a user