I have a Python program that's supposed to be up 24/7 that keeps terminating for some reason even though I haven't reached the limit and I want to find out the reason. But when I run it on a Bash console try doing output redirection via python myscript.py >> output.txt 2>&1
, the output file always comes up empty, even though if I run it without output redirection I can see the output.