Forums

Always-on tasks not working

Hi, My python file in Always-on tasks does not produce any output and I can find only "2021-09-12 08:16:17 - Task preparing to start" in log even though the task is in running state. It worked fine for some time and then it is not at all starting. Please help or guide me.

If your task is running and not producing the output that you expect, that would suggest that you are not reaching the code that produces the output. Add some additional prints earlier in the code path, so you can see where it's getting to and then you can use that information to work out what is happening.