I have a long schedule task using bash and in the bash run python script. It stopped after 2 hours plus without error. I think it is time for me to implement long run task script check. https://help.pythonanywhere.com/pages/LongRunningTasks
bash /home/vinus/abc.sh && bash /home/vinus/cde.sh
abc.sh contains
python /home/vinus/first.py && python /home/vinus/second.py
cde.sh contains
python /home/vinus/third.py && python /home/vinus/fourth.py
Where should I put the code in long running task? A separate python script? Let said LR.py so abc.sh will be
python /home/vinus/LR.py && python /home/vinus/first.py && python /home/vinus/LR.py && python /home/vinus/second.py
Also, how should I put the lock_id = "my-username.my-task-name"
lock_id = "vinus.abc.sh"
?