# \[APP\]\[Pro\] Action Scheduler

**URL:** https://community.homey.app/t/app-pro-action-scheduler/75592
**Category:** Apps
**Tags:** app, tools, homey-pro
**Created:** [January 26, 2023, 8:50am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592 "2023-01-26T08:50:06Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [January 30, 2024, 10:33pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/63 "2024-01-30T22:33:20Z")

</div>

YW, Steinar.

> [@Steinar\_Dalva](#):
>
> why there are two different Apps

The flowcard screenshot I showed, is from the Action Scheduler app! It also provides for Cron job functionality

 ![Screenshot_20240130-232949_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/5/35268d90774a2b4fc689b6ccfb2a37067a34ad11.jpeg)

.

The ‘Cron’ app is a different unrelated app by an other dev Ola:

 ![Screenshot_20240130-233157_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/148a87ebc4a8c30214fd24b205b19889c44a5f3f.jpeg)

(Just found out by searching for ‘cron’; didn’t know this app existed)

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [January 31, 2024, 5:52am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/64 "2024-01-31T05:52:44Z")

</div>

In the [first post in this topic](https://community.homey.app/t/app-pro-action-scheduler/75592) you will find instructions how to setup the Cron Time device and a list of the available flow cards.

 ![Screenshot 2024-01-31 at 7.50.54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e2402cdac524675db87ec9ec8e2edeebfcae2ac6.png)

And yes @Peter_Kawa, noticed also that there is a “new” app for Cron style things. Though that one doesnät include all the flexibility :).

---

<div class="post-metadata">

### Author: ![Christer\_Sjostrom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christer_sjostrom/32/628_2.png) [@Christer\_Sjostrom](https://community.homey.app/u/Christer_Sjostrom)
#### Post date: [April 1, 2024, 12:13pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/65 "2024-04-01T12:13:38Z")

</div>

If I want a Scheduler at 13:00 and every third day and use Cron time - 0 13 \*/3 \* \* - I get an error when saving. How do I do to get it to run every third day att 13:00? Use the Cron app.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [April 1, 2024, 4:29pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/66 "2024-04-01T16:29:48Z")

</div>

# New update (Live: [2.3.3](https://homey.app/a/fi.oh2th.alarmutils/), Test: [2.3.4](https://homey.app/a/fi.oh2th.alarmutils/test))

> ## Changes in test include
> 
> - **FIX** : Tune the regex crontime verification on the Cron Time device.

@Christer_Sjostrom, try the test version. That should result in:

Your example `0 13 */3 * *` = _"At 13:00 on every 3rd day-of-month.”_ should result in:

next at 2024-04-04 13:00:00  
then at 2024-04-07 13:00:00  
then at 2024-04-10 13:00:00  
then at 2024-04-13 13:00:00  
then at 2024-04-16 13:00:00

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [June 28, 2024, 1:35pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/67 "2024-06-28T13:35:15Z")

</div>

OH2TH, I would like to start a trigger from the scheduler at 05:00 (in the morning) and 22:00 (in the evening). Is there a possibility to schedule this and which format should I use.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [June 28, 2024, 1:45pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/68 "2024-06-28T13:45:04Z")

</div>

Yes, you can use the Cron Scheduler where the time is set in the crontab format. For you it would be `0 5,22 * * *` this translate to _on the hour at 5 and 22 every day_.

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [June 28, 2024, 1:48pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/69 "2024-06-28T13:48:54Z")

</div>

Great, many thanks for your quick response.

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [June 28, 2024, 2:16pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/70 "2024-06-28T14:16:25Z")

</div>

I tried it but get the following error.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c486462879d1cc64f01069568bb7a56d146208a9.png)

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [June 28, 2024, 2:38pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/71 "2024-06-28T14:38:55Z")

</div>

It should work, probably the `,` confuses Javascript or such (in the app code)

 ![Screenshot_20240628-171631_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/40a0e6deeb3378b4fa1ba32a6518b6ff927bff71.jpeg)

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [June 28, 2024, 6:31pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/72 "2024-06-28T18:31:46Z")

</div>

Indeed it should work. I will check that

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [July 1, 2024, 5:28am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/73 "2024-07-01T05:28:08Z")

</div>

Thank you for taking the time to investigate this. I also checked other combinations, but the , is not accepted.

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [August 7, 2024, 5:49am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/74 "2024-08-07T05:49:39Z")

</div>

Did you find the time to investigate this?

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [August 14, 2024, 4:13am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/75 "2024-08-14T04:13:13Z")

</div>

Sorry, was travelling.

I’m working on a possible solution to improve the input verification to allow more complex crontimes to be set.

There are some backend/frontend functional hickups ([Pairing with custom views and using events to verify syntax of a cron string](https://community.homey.app/t/114264)) that needs to be solved before a release can be made.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [August 14, 2024, 9:13am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/76 "2024-08-14T09:13:58Z")

</div>

# New update (Live: [2.3.4](https://homey.app/a/fi.oh2th.alarmutils/), Test: [2.4.1](https://homey.app/a/fi.oh2th.alarmutils/test))

> ## Changes in test include
> 
> - **FIX** : Refactor the cron time verification in pairing and settings forms.
> - **FIX** : Pairing form “Add Device” button.
> - **FIX** : new CronJob syntax changes due to updating to v3 cron

The FIX applies to the test version only to get feedback before making it live.

@Roy_Derksen, if you can test the test version for your needs.

And a big thanks to @robertklep for finding the bug in the frontend code. I had become too blind to my code.

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [August 14, 2024, 2:31pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/77 "2024-08-14T14:31:05Z")

</div>

@OH2TH, I have tested version 2.4.1 and it is not working accordingly. I can now update the time, e.g. 0 15,16 \* \* \* in the advanced settings. However, when the trigger is taken place with the card schedule triggered, the app is not responding and after roughly 1 min is back online but with the next scheduled date and time.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [August 14, 2024, 2:36pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/78 "2024-08-14T14:36:55Z")

</div>

On my HP 2019 and 2023 it works ok. I can’t seem to replicate any error.

Test flow is as:

 ![Screenshot 2024-08-14 at 19.27.58](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/babd46889d856cbb92fd7a788b3c740c8c937b61.png)

And the setting and notifications are arriving as defined by the flow.

 ![Screenshot 2024-08-14 at 19.26.35](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/2/92c09f6b200aca04c89d10cc51760270572c0aab.jpeg)

---

<div class="post-metadata">

### Author: ![staeff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/staeff/32/79712_2.png) [@staeff](https://community.homey.app/u/staeff)
#### Post date: [August 14, 2024, 5:01pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/79 "2024-08-14T17:01:17Z")

</div>

You can try [CronJob](https://homey.app/en-us/app/dev.schweiger.cron-job/CronJob/) if all you want to do is run specific cron expressions. Just directly put it in the WHEN card.

---

<div class="post-metadata">

### Author: ![Roy\_Derksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roy_derksen/32/79117_2.png) [@Roy\_Derksen](https://community.homey.app/u/Roy_Derksen)
#### Post date: [August 14, 2024, 5:31pm UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/80 "2024-08-14T17:31:04Z")

</div>

I have done some more tests and it is working fine.

Thanks for your support.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [August 15, 2024, 6:23am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/81 "2024-08-15T06:23:57Z")

</div>

Good to know. I will keep that in testing for a while as there has been some number of changes under the hood.

---

<div class="post-metadata">

### Author: ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)
#### Post date: [August 15, 2024, 7:31am UTC](https://community.homey.app/t/app-pro-action-scheduler/75592/82 "2024-08-15T07:31:35Z")

</div>

# New update (Live: [2.3.4](https://homey.app/a/fi.oh2th.alarmutils/), Test: [2.4.2](https://homey.app/a/fi.oh2th.alarmutils/test))

> ## Changes in test include
> 
> - **FIX** : Refactor the cron time verification in pairing and settings forms.
> - **FIX** : Pairing form “Add Device” button.
> - **FIX** : new CronJob syntax changes due to updating to v3 cron
> - **FIX** : Restore prettier formating

To test this version, please install from above test version link.

If you do not want to test this version anymore, you can return to the [live version](https://homey.app/a/com.sensibo/fi.oh2th.alarmutils) by installing it from the app store.

[Previous page](https://community.homey.app/t/app-pro-action-scheduler/75592.md?page=3)

[Next page](https://community.homey.app/t/app-pro-action-scheduler/75592.md?page=5)
