stanfordnmbl / opencap-core

Main OpenCap processing pipeline
Apache License 2.0
151 stars 120 forks source link

Check status of backend machines #54

Closed suhlrich closed 1 year ago

suhlrich commented 1 year ago

1) Run an openpose and hrnet neutral trial every 30 mins 2) if a trial fails, stop the machine and email whoever is in the env file.

We need to add the following env vars: STATUS_EMAIL_FROM = 'fromEmail@gmail.com' STATUS_EMAIL_FROM_PW = 'pw' STATUS_EMAIL_TO = '["toEmail1@gmail.com","toEmail2@gmail.com"]'

Tests I've done 1) run a good and a bad trial. It did the status check after the specified time, emailed multiple email addresses, and stopped.

antoinefalisse commented 1 year ago

Looking great! Should we send that email to both of us?

suhlrich commented 1 year ago

Yeah. Let's do. Easy to change down the road.

suhlrich commented 1 year ago

Yeah. Let's do.