redeploy back
This commit is contained in:
parent
fbcca56b8f
commit
399eb9ac20
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user