Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Merge pull request #8 from londoso/dev
Browse files Browse the repository at this point in the history
cron para lambda
  • Loading branch information
londoso authored Jan 18, 2024
2 parents 321a540 + 92293c5 commit 035ebec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions template.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Función para consolidar la
Description: Funcion para consolidar las lecturas de todos los sensores en un solo archivo diariamente

Parameters:

Expand Down Expand Up @@ -58,10 +58,10 @@ Resources:
BucketOrigen: !Ref BucketOrigen
BucketDestino: !Ref BucketDestino
Events:
ScheduleEvent:
Type: ScheduleV2
CWSchedule:
Type: Schedule
Properties:
ScheduleExpression: cron(30 0 * * ? *)
ScheduleExpressionTimezone: "-5"
Schedule: cron(30 5 * * ? *)
Name: aire-medellin-lambda-consolida
State: ENABLED
Description: Corre diariamente para consolidar las lecturas de todos los sensores en un solo archivo
Enabled: true

0 comments on commit 035ebec

Please sign in to comment.