I have a python file, foo.py. It downloads some google sheets data with gspread, process it, and reuploads. It takes typically 15-25 seconds on my dataset. Sometimes, about 20%, it'll run indefinitely, or at least as long as I've had patience to wait for.
I want to run it on a schedule, as often as is possible. But I find that something like using watch doesn't keep running it after the first freeze up.
Thoughts?