# Change my schedule function after deploy

**URL:** <https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836>\
**Category:** Support\
**Tags:** lambda-functions, branch-deploys, netlify-newbie, deployment\
**Created:** [September 25, 2023, 4:47pm UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836 "2023-09-25T16:47:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![danieeellps09](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/danieeellps09/32/54875_2.png) [@danieeellps09](https://answers.netlify.com/u/danieeellps09)\
**Post date:** [September 25, 2023, 4:47pm UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/1 "2023-09-25T16:47:39Z")

</div>

Hi everyone, i’ve been deployed my schedule function for run about @hourly but after this i’ve made any changes on my fuction time to run about 150 minutes, but even had that changes the function keep running like the first deploy at hourly

---

<div class="post-metadata">

**Author:** ![audrey](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/audrey/32/24328_2.png) [@audrey](https://answers.netlify.com/u/audrey)\
**Post date:** [September 27, 2023, 12:56am UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/2 "2023-09-27T00:56:05Z")

</div>

Howdy @danieeellps09 and welcome to the community! 👋

To assist us in troubleshooting, could you share:

- the code configuring the scheduled function, whether that is in `netlify.toml` or inline in the function itself
- the site name
- scheduled function name

---

<div class="post-metadata">

**Author:** ![danieeellps09](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/danieeellps09/32/54875_2.png) [@danieeellps09](https://answers.netlify.com/u/danieeellps09)\
**Post date:** [September 28, 2023, 12:30am UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/3 "2023-09-28T00:30:00Z")

</div>

Of Course  
Of Course  
[build]  
command = ‘npm run build’  
functions = ‘functions’  
publish = ‘build’  
[functions.“function-name”]  
schedule = "\*/150 \* \* \* \* "

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [September 30, 2023, 12:20am UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/4 "2023-09-30T00:20:34Z")

</div>

You say of course, but you didn’t actually answer Audrey’s questions about the function code nor the sitename. Could you please post them here for us?

---

<div class="post-metadata">

**Author:** ![danieeellps09](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/danieeellps09/32/54875_2.png) [@danieeellps09](https://answers.netlify.com/u/danieeellps09)\
**Post date:** [October 2, 2023, 4:52pm UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/5 "2023-10-02T16:52:02Z")

</div>

I created a function that posts every 0 minutes of the current hour, deployed it, and later changed the function to run every 150 minutes. However, the function still triggers @Hourly.

---

<div class="post-metadata">

**Author:** ![gualter](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gualter/32/35068_2.png) [@gualter](https://answers.netlify.com/u/gualter)\
**Post date:** [October 3, 2023, 1:55pm UTC](https://answers.netlify.com/t/change-my-schedule-function-after-deploy/102836/6 "2023-10-03T13:55:14Z")

</div>

@danieeellps09 as my colleagues fool and Audrey mentioned, we need more details to sort this out:

To assist us in troubleshooting, could you share:

- the code configuring the scheduled function, whether that is in `netlify.toml` or inline in the function itself
- the site name
- scheduled function name

Unless you provide these, we are unable to assist here.

Thank you for understanding.
