Issue with TimeControls getting stuck

22 views (last 30 days)
Kolbe
Kolbe on 18 Nov 2024
Edited: Stefan on 23 Jan 2025 at 10:44
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 (3)

Vinod
Vinod on 18 Nov 2024
Edited: Vinod on 19 Nov 2024
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
Kolbe on 19 Nov 2024
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?
  12 Comments
Stefan
Stefan on 17 Dec 2024
UPDATE 17.12.: it seems that also today the script was not running. Again without email notification.
Stefan
Stefan on 19 Dec 2024
Update: 18.12 & 19.12. It worked (I did not touch it). Seems that occationally the execution is not started or fails, without sending a mail.

Sign in to comment.


Stefan
Stefan on 23 Jan 2025 at 10:43
Edited: Stefan on 23 Jan 2025 at 10:44
Hi @Vinod,
frequent skipping of execution resist. I have created a new thread on this as requested.
Stefan

Communities

More Answers in the  ThingSpeak Community

Tags

Community Treasure Hunt

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

Start Hunting!