From d5edd9ae2e756d43aabe9b01a5e57d0ad1cf984c Mon Sep 17 00:00:00 2001 From: Rajesh M Date: Tue, 27 Aug 2024 15:07:25 +0100 Subject: [PATCH] Update events --- serverless.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/serverless.yml b/serverless.yml index 8e00b99..713dca4 100644 --- a/serverless.yml +++ b/serverless.yml @@ -31,3 +31,7 @@ functions: archiveMessages: handler: lib/functions/archiveMessages.archiveMessages timeout: 240 + events: + - schedule: + rate: cron(0 2 * * ? *) + enabled: true