https://tech.iprock.com/archives/26686
How To Run Long-running Scripts on a Raspberry Pi