# Schedule job with normal GET request

**URL:** <https://forum.serverless.com/t/schedule-job-with-normal-get-request/4261>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [April 15, 2018, 11:29pm UTC](https://forum.serverless.com/t/schedule-job-with-normal-get-request/4261 "2018-04-15T23:29:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bill/32/1072_2.png) [@bill](https://forum.serverless.com/u/bill)\
**Post date:** [April 15, 2018, 11:29pm UTC](https://forum.serverless.com/t/schedule-job-with-normal-get-request/4261/1 "2018-04-15T23:29:23Z")

</div>

What I want to do is, regularly trigger API call to todos endpoint (curl https://\<api\_gateway\>/dev/todos)

```
  list:
    handler: todos/list.list
    events:
      - http:
          path: todos
          method: get
          cors: true
      - schedule: rate(5 minutes)

```

But seems the schedule job doesn’t run every 5 minutes, are there anything wrong for my understanding?

Do I have to split them into two events?

```
  list:
    handler: todos/list.list
    events:
      - http:
          path: todos
          method: get
          cors: true

  listSchedule:
    handler: todos/list.list
    events:
      - schedule: rate(5 minutes)
```

---

<div class="post-metadata">

**Author:** ![bill](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bill/32/1072_2.png) [@bill](https://forum.serverless.com/u/bill)\
**Post date:** [April 16, 2018, 10:06am UTC](https://forum.serverless.com/t/schedule-job-with-normal-get-request/4261/2 "2018-04-16T10:06:02Z")

</div>

it works, in fact. closed.

---

<div class="post-metadata">

**Author:** ![diegomc365](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/diegomc365/32/4085_2.png) [@diegomc365](https://forum.serverless.com/u/diegomc365)\
**Post date:** [March 26, 2020, 10:00pm UTC](https://forum.serverless.com/t/schedule-job-with-normal-get-request/4261/3 "2020-03-26T22:00:30Z")

</div>

it worked for me too.
