redeploy back

This commit is contained in:
Vins 2023-07-25 13:32:57 +02:00
parent fbcca56b8f
commit 399eb9ac20

View File

@ -8,6 +8,7 @@ export default class CronService {
constructor(private mailchimpService: MailchimpService) {} constructor(private mailchimpService: MailchimpService) {}
public async sendMails() { public async sendMails() {
const cronJob = new CronJob("*/15 * * * * *", async () => { const cronJob = new CronJob("*/15 * * * * *", async () => {
try { try {
await this.mailchimpService.sendEmails(); await this.mailchimpService.sendEmails();