# How to play an alarm in the background

**URL:** https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863
**Category:** Questions about Thunkable X
**Created:** [February 2, 2021, 5:08am UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863 "2021-02-02T05:08:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)
#### Post date: [February 2, 2021, 5:08am UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863/1 "2021-02-02T05:08:28Z")

</div>

Is it possible to play a sound even when the app is off? It should be possible for the user to pick a date to trigger the alarm, and then, when it is time, play the chosen alarm tune even when the app is off. I tried  
using Google Calendar API, but couldn’t wrap my head around it. Any ideas?

Thanks.

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [February 2, 2021, 9:10am UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863/2 "2021-02-02T09:10:23Z")

</div>

Not possible. Thunkable does not run in the background. The closest you could get would be to use something like one signal to schedule a push notification.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [February 2, 2021, 9:33am UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863/3 "2021-02-02T09:33:12Z")

</div>

If you want to add an event using google script, you may try this. I did not try it myself

> [@How to Insert Event in Google Calendar](http://community.thunkable.com/t/how-to-insert-event-in-google-calendar/1019722/3):
>
> You can use Google Apps Script to created a webhook to create event in G Calendar. Get Server/Webhook Codes from [Github](https://github.com/cttricks/Google-Calendar-WH/). Note : You can do more with G-Calendar by using this webhook ([View Docs](https://developers.google.com/apps-script/reference/calendar)). Blocks Screen Shot [Click here](https://x.thunkable.com/copy/5358b9a3c878a16df3b13eaa211a13d5) to view sample Calendar project made on x.thunkalbe Ct tricks

---

<div class="post-metadata">

### Author: ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)
#### Post date: [February 2, 2021, 4:00pm UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863/4 "2021-02-02T16:00:17Z")

</div>

Thank you very much for your help. I will try this out. Will this send a notification to the user at the appointed time?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/how-to-play-an-alarm-in-the-background/1078863/5 "2024-11-08T13:29:37Z")

</div>


