Issue with TimeControls getting stuck

52 views (last 30 days)
Kolbe Thomas
Kolbe Thomas on 18 Nov 2024 at 22:20
Edited: Kolbe Thomas on 22 Nov 2024 at 20:18
I have these TCs running every day. However yesterday I noted it seems the TC execution got stuck for 2 of them? Below screenshot is from today, so it is weird these do not show the correct future time, also note the 1 min difference bw. Last Ran & Run At ...
I now modifed and saved both and it seems they got "restarted" and now show the future date correctly. Hopefully that did not destroy the evidence :) but you have below screenshot anyway.
Hope someone can figure out what made these get "stuck"?

Answers (2)

Vinod
Vinod on 18 Nov 2024 at 22:53
Edited: Vinod on 19 Nov 2024 at 18:41
We'll take a look on the back end why these Time Control got stuck. Typically when I have seen this, it is because something has errored out during its previous execution. Maybe your MATLAB code associated to the Time Control timed out, or a ThingHTTP associated with the TimeControl didn't complete. When Time Controls or Reacts running MATLAB code fail, they can be configured to send an email that can give more info.
PS: The "Last Run" column is when the timecontrol last ran. "Run At" is when the next execution of the timecontrol is scheduled for.

Kolbe Thomas
Kolbe Thomas on 19 Nov 2024 at 23:27
Thanks for the help Vinod!
I am lost, it seems to be happening now on all but one TCs? I would not expect to ever have the same date on 'Last Ran' and 'Run At' for a daily recurrence ...
These TCs all only are calling a TalkBack. Nothing is in the queue so not sure why they get stuck?
  2 Comments
Vinod
Vinod on 22 Nov 2024 at 19:18
@Kolbe Thomas: Could you try editing your timecontrols that are stuck and setting them to run at the next timeslot, but at the top of the hour. So, schedule them at 5:00 AM, 1:00 AM, 6:00AM, etc.
Kolbe Thomas
Kolbe Thomas on 22 Nov 2024 at 20:17
Edited: Kolbe Thomas on 22 Nov 2024 at 20:18
@Vinod done

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!