Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5199

Python • Re: Issue with 2 python scripts running simultaneously

$
0
0
As you say, it is not desirable to pause motion detection while uploading files.
But doing that is at least a patch.
Performing uploads from cron every 3 minutes is a test.
Doing that every 30 mins would be enough.
So I would add some lines in File2.py (runs from cron): stop File1.py process; proceed to convert and upload files; at the end relaunch motion sensor (File1.py)

Statistics: Posted by marciano — Fri Apr 26, 2024 1:03 pm



Viewing all articles
Browse latest Browse all 5199

Trending Articles