# Schedule instead of rule for invoking lambda with schedule

**URL:** https://forum.serverless.com/t/schedule-instead-of-rule-for-invoking-lambda-with-schedule/21068
**Category:** Serverless Framework
**Tags:** aws, lambda
**Created:** [March 21, 2025, 10:32am UTC](https://forum.serverless.com/t/schedule-instead-of-rule-for-invoking-lambda-with-schedule/21068 "2025-03-21T10:32:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Tsingis](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tsingis/32/5239_2.png) [@Tsingis](https://forum.serverless.com/u/Tsingis)
#### Post date: [March 21, 2025, 10:32am UTC](https://forum.serverless.com/t/schedule-instead-of-rule-for-invoking-lambda-with-schedule/21068/1 "2025-03-21T10:32:51Z")

</div>

Documentation about schedule usage is kinda stub.

> **[Serverless Framework - AWS Lambda Events - Scheduled & Recurring](https://www.serverless.com/framework/docs/providers/aws/events/schedule#use-awsschedulerschedule-instead-of-awseventrule)**
>
> Setting up Scheduled, Recurring, CRON Task Events with AWS Lambda via the Serverless Framework

How to properly use schedule instead of rule? Schedule requires permissions to invoke lambda but how is the permission generated and how it is linked to correct lambda?

```auto
functions:
  handler:
    handler: handler.handler
    role: myRole
    events:
      - schedule: cron(0 5 * * ? *)

```

vs

```auto
functions:
  handler:
    handler: handler.handler
    role: myRole
    events:
      - schedule:
          method: scheduler
          rate:
            - cron(0 5 * * ? *)
          timezone: Europe/Helsinki

```

---

<div class="post-metadata">

### Author: ![dtcarls](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/dtcarls/32/7651_2.png) [@dtcarls](https://forum.serverless.com/u/dtcarls)
#### Post date: [September 5, 2025, 2:22am UTC](https://forum.serverless.com/t/schedule-instead-of-rule-for-invoking-lambda-with-schedule/21068/2 "2025-09-05T02:22:16Z")

</div>

Same issue here. Rules work fine, but when transitioning to Schedule they get created and target the lambdas correctly, but the invoke lambda permission isn’t created. There was a plugin “serverless-local-schedule” to create multiple rules automatically but it has been archived. The workaround is create a resource based policy for every function, but it’s a major pain for something that should be included.

---

<div class="post-metadata">

### Author: ![beenmeckel](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@beenmeckel](https://forum.serverless.com/u/beenmeckel)
#### Post date: [November 30, 2025, 7:28pm UTC](https://forum.serverless.com/t/schedule-instead-of-rule-for-invoking-lambda-with-schedule/21068/3 "2025-11-30T19:28:21Z")

</div>

You are almost there, instead of scheduling the lambda every 15 minutes, just have EventBridge invoke the lambda every 6 hours. That’s half of the requirement.

[9Apps](https://9apps.ooo/) [Tutuapp](https://tutuapp.uno/)
