Skip to content

Running reliably using wrapper etc #2

@benpollinger

Description

@benpollinger

Hi @simon3270 thanks for this script.

I have the UDP script running OK, but wondered if you had any pointers on keeping it running.

I'm on a Rasp Pi, mainly running OpenMediaVault. I made a bash script as you suggested:

while true; do
python3 ginserv.py >> gindata.log_$(date '+%Y%m%d')
sleep 30
done

I launched screen and ran the script in that. This seemed OK, but today I checked the log file and it didn't start til 5pm. I'm not sure what makes it stop/start/wobble. The data on the Ginglong site is continuous and the Rasp Pi was running OK today.

Anyway, any suggestions welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions