Skip to content

I-ALiRT - update alarm schedule#1344

Open
laspsandoval wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
laspsandoval:alarm_reset_time
Open

I-ALiRT - update alarm schedule#1344
laspsandoval wants to merge 1 commit into
IMAP-Science-Operations-Center:devfrom
laspsandoval:alarm_reset_time

Conversation

@laspsandoval
Copy link
Copy Markdown
Contributor

This pull request updates the scheduling of the instrument_alarm_lambda in the ialirt_alarm_construct.py file. Instead of running every 8 hours, the Lambda function will now run once daily at 11:00 UTC.

  • Scheduling changes:
    • Changed the events.Rule schedule for instrument_alarm_lambda from running every 8 hours to running once daily at 11:00 UTC, using a cron expression.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the EventBridge schedule that triggers the I-ALiRT instrument_alarm_lambda, changing it from running every 8 hours to running once daily at 11:00 UTC via a cron schedule.

Changes:

  • Replaced events.Schedule.rate(Duration.hours(8)) with events.Schedule.cron(hour="11", minute="0") for the instrument alarm rule.
  • Added an inline comment clarifying the intended run time (11:00 UTC daily).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants