# 🆕 Actions! ⚡⚡⚡

**URL:** <https://community.glideapps.com/t/actions/18026>\
**Category:** Ask for Help\
**Created:** [November 5, 2020, 11:12pm UTC](https://community.glideapps.com/t/actions/18026 "2020-11-05T23:12:15Z")\
**Posts on this page:** 1\
**Showing post:** 339

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 1, 2021, 12:12am UTC](https://community.glideapps.com/t/actions/18026/339 "2021-04-01T00:12:32Z")

</div>

> [@Drearystate](#):
>
> If you guys would like I can write you out a time based trigger. I use these currently in my apps. I can write a generic one that you guys can modify to fit your needs.

You mean like this?

> [@Scripts, scripts, scripts!](https://community.glideapps.com/t/scripts-scripts-scripts/18965/5):
>
> Here is an example I use for creating time-based triggers. It accepts 3 parameters: func - the name of the function to be executed unit - either ‘hours’ or ‘minutes’ interval - how often to run it (based on the unit) So for example, calling it as create\_time\_based\_trigger('clear\_old\_data', 'hours', 6) would create a trigger that calls the function clear\_old\_data once every 6 hours. function create\_time\_based\_trigger(func, unit, interval) { var ss = SpreadsheetApp.getActive(); switch (…

But the point here is about having the ability to configure ~~event~~ state or time driven actions in Glide, and be able to avoid Apps Script triggers.

---

_[View the full topic](https://community.glideapps.com/t/actions/18026)._
