diff --git a/src/weekly_post.py b/src/weekly_post.py index 41c79e7..db74056 100644 --- a/src/weekly_post.py +++ b/src/weekly_post.py @@ -138,7 +138,8 @@ def handler(event, context): now = datetime.now(EASTERN) # DST guard — same pattern as the 3CX scheduler - if now.hour != 7: + force = event.get("force", False) + if not force and now.hour != 7: logger.info("ET hour is %d, not 7am — skipping (wrong DST rule fired)", now.hour) return {"skipped": True}