Hi -- I am finding the explanation for long-running processes confusing: https://help.pythonanywhere.com/pages/LongRunningTasks
Am I supposed to put that code snippet at the top of my python script (the one that operates my whole program, which I want to run continuously?)
When I do so, and run a scheduled task, the task log shows the following error:
ImportError: No module named my_module
(...or is this supposed to be running in a different script from the main one and "my_module" is supposed to be replaced with a path to my main script? Or something like that?...)
Any clarification would be appreciated. Thank you!