Jump to content

Problem with script on background


Ruan Carlos

Recommended Posts

 

I have a problem with a script python that is running in the background, this script needs to run all the time without stopping, but the script freezes or stops without error,  when I change for another card, it works for a few days and then the same thing happens, however the debian system continues to work perfectly, only the background script stops working, I already debugged the code and it has no problem making it stop. my sdcard is MicroDrive class 10, 8Gb. what could be causing this problem?

Link to comment
Share on other sites

Did you try to run this script on a completely different machine for a longer period of time?
By the way. an armbianmonitor -u output would be a nice thing to get any chance to investigate this further...

Link to comment
Share on other sites

19 hours ago, Ruan Carlos said:

but the script freezes or stops without error

How did you figured that out ? Did the process no present anymore in "ps -ef" ?

Do you grabbing log of both stderr/stdout output of the process, something like "python thescript.py > thescript.log 2>&1 &" ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines