# Scheduled transaction group stopped on start of new month

**URL:** <https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368>\
**Category:** Ignition\
**Created:** [November 2, 2012, 2:37pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368 "2012-11-02T14:37:03Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [November 2, 2012, 2:37pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/1 "2012-11-02T14:37:03Z")

</div>

Hi,  
i just realized that a scheduled group stopped working yesterday at midnight. Here is the status and the settings:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/082e9f01d62832499941f2ea2a68fbd8d2763e6b.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8394cfbd4003cf9f951799727753fdea42e85db1.png)

The plan was to have this group executing always 2 minutes after the full 15 minutes (00:02, 00:17, 00:32…). This worked ok until yesterday and started working again after i disabled and reenabled the group. Ignition version is 7.5.4-beta4.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 5, 2012, 6:33pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/2 "2012-11-05T18:33:39Z")

</div>

Hi,

Something about the month switch over must be affecting the time calculation. Did the last execution before that occur correctly at 11:47pm? I’ll go plug this scenario into the unit tests for that scheduler and report back shortly if I find something.

Regards,

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [November 5, 2012, 7:42pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/3 "2012-11-05T19:42:39Z")

</div>

Hi,  
thanks for your reply. Unfortunately i did not check when the group executed the last time before restarting it, and after that there is no way to find out.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 6, 2012, 6:17pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/4 "2012-11-06T18:17:00Z")

</div>

Hi,

It’s ok. I can’t yet explain why it would stop working, but I can see that in a setup like yours, it is incorrectly aligning to midnight for that execution. Perhaps there’s a clue in the fact that the previous execution occurred at about the same time. I’ll keep testing it.

In order to avoid the midnight alignment issue, you should probably change your schedule to be “0:02-23:48”. That will avoid an internal split that occurs when the range spans multiple days.

Regards,

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [November 7, 2012, 1:02pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/5 "2012-11-07T13:02:46Z")

</div>

I just discovered that the group stopped executing again, so it’s got nothing to do with the new month. Only thing i can tell from my data is that the last execution happend after 23:45.  
I changed the schedule to your recommendation now. Let’s see what happens.  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/81c60a05833dffdcaee5545845b393cf2e25aed7.png)

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 7, 2012, 4:11pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/6 "2012-11-07T16:11:20Z")

</div>

Yes, definitely seems to be something with the cross over at midnight, since the “last exec” and “next exec” are the same on both events. I’ll work on testing this more today and let you know what I find.

Regards,

---

<div class="post-metadata">

**Author:** ![koval\_yuriy](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@koval\_yuriy](https://forum.inductiveautomation.com/u/koval_yuriy)\
**Post date:** [November 29, 2012, 7:45am UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/7 "2012-11-29T07:45:59Z")

</div>

Hi Colby!  
I have the same problem. I have the times settings = 0-24 and the rate is equal to 1 hour, so i want to execute this group every hour…Today i find that the last execution was at Nov 28 23:59:59. I will try different time settings and let you know…Maybe you will find something

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 29, 2012, 6:28pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/8 "2012-11-29T18:28:46Z")

</div>

Hi,

Thanks for posting, hopefully we can track something down soon.

Regards,

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [November 29, 2012, 8:47pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/9 "2012-11-29T20:47:05Z")

</div>

A quick update: This did not happen anymore after changing the schedule ‘0:02-23:48’.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 29, 2012, 9:50pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/10 "2012-11-29T21:50:38Z")

</div>

Thanks for the update.

I’ve found that the way the execution is scheduled, if for some reason the delay is calculated to be \<=0, the group will never run again. So that definitely seems to be related. As for why that would happen at midnight, I’m not exactly sure… but we can start by making sure to never return a delay of 0ms.

Regards,

---

<div class="post-metadata">

**Author:** ![koval\_yuriy](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@koval\_yuriy](https://forum.inductiveautomation.com/u/koval_yuriy)\
**Post date:** [November 30, 2012, 10:22am UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/11 "2012-11-30T10:22:31Z")

</div>

> [@chi](#):
>
> A quick update: This did not happen anymore after changing the schedule '0:02-23:48'.

I have tried the schedule "0:01-23:59" yesterday and in my case the group again stops to execute...

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [November 30, 2012, 7:38pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/12 "2012-11-30T19:38:51Z")

</div>

Hi,

We’ve adjusted a few different aspects of how this system works for the next 7.5.5 beta (should be up on monday). In the mean time, you should probably just run your group in the standard rate mode to prevent the problem.

Regards,

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [December 3, 2012, 10:01pm UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/13 "2012-12-03T22:01:40Z")

</div>

The new beta should be up now, and should hopefully take care of this issue.

Regards,

---

<div class="post-metadata">

**Author:** ![koval\_yuriy](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@koval\_yuriy](https://forum.inductiveautomation.com/u/koval_yuriy)\
**Post date:** [December 4, 2012, 7:34am UTC](https://forum.inductiveautomation.com/t/scheduled-transaction-group-stopped-on-start-of-new-month/5368/14 "2012-12-04T07:34:33Z")

</div>

Thanks! I will test it tonight and let you know…
