Issue with TimeControls getting stuck
显示 更早的评论
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"?

回答(3 个)
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
2024-11-19
0 个投票
12 个评论
Vinod
2024-11-22
@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
2024-11-26
Vinod
2024-11-27
From investigation on server side, it turns out that some TimeControls that are set up incorrectly are sporadically blocking re-queuing of recurring TimeControls. This is why some recurring TimeControls appear to be working fine while others get stuck.
We're developing a server side fix for this issue that will require no changes on your part as your TimeControls appear to be set up correctly. I will post on this thread when the fix is deployed.
Vinod
2024-12-2
@Kolbe Thomas: A fix was deployed earlier today. Your TimeControls should now run on schedule. Please let us know if you see errors.
I observed the same issue. I have one TC running, triggering an action once a day. Last time it got stuck and had to be renewed was after your fix (5th Dec).
The Mathlab code is not really complicated or has high ressource demands, so timeouts seems to be not very likely.
But as a newbie at ThingSpeak I am happy to get advice if I can make it more reliable.
Best Stefan
Stefan
2024-12-9
Hi Vinod, thanks for checking. Unfortunately it happened again, Monday morning it again refused to execute. Also a mail was not sent, I hope I have configured my mail address at the right place…
Thanks in advance
Stefan
Stefan
2024-12-15
Hi Vinod, indeed, the TC turned back to expected operation without any intervention. But on Dec 9th it made a break. Do you want to check those logfiles, if there is any indication why ir did not execute at that day?
Stefan
Stefan
2024-12-17
UPDATE 17.12.: it seems that also today the script was not running. Again without email notification.
Stefan
2024-12-19
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.
frequent skipping of execution resist. I have created a new thread on this as requested.
Stefan
社区
更多回答在 ThingSpeak Community
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

