AutotuneWeb icon indicating copy to clipboard operation
AutotuneWeb copied to clipboard

Automatically Run Weekly

Open bmammon opened this issue 6 years ago • 7 comments

This is an incredible tool. Thank you so much for simplifying this process. Would it be possible to automatically run autotune every week (or alternate range of time) so I could have an email in my inbox with my results every Sunday for instance?

bmammon avatar Feb 07 '19 21:02 bmammon

I had planned to do this, but it would only be able to run automatically if there is a single ISF and CR in the profile as otherwise it would still need user input on which ratio to use each time. I haven't tracked how many profiles would meet this requirement to see how useful adding automation would be.

MarkMpn avatar Feb 09 '19 11:02 MarkMpn

I have one CR and one ISF! But there is lots of variation. If you do decide to implement I am happy to test

bmammon avatar Feb 09 '19 17:02 bmammon

I can build something that would help here. It would be a tool that could be scheduled to run on local machines at desired frequency, launch AutotuneWeb and complete all the fields.

However, does AutotuneWeb work "Running Autotune in the Cloud"? I tried just the once but never received an email with results.

gh-davidr avatar Jul 23 '19 10:07 gh-davidr

It definitely works! Just be patient and you will get the email if you haven't already. And that would be awesome if you could schedule it to run regularly :)

bmammon avatar Jul 23 '19 15:07 bmammon

ok - I've built something that will work. Have a look at my latest repo.

I've been unable to test a successful email back since my daughter's nightscout is woefully empty! She's not run a sensor in over a month now but due to put one on soon. I guess the wrapper detects that there are no cgm values to autotune with so no email gets sent...

Hopefully someone can verify it will run unattended successfully and generate email.

gh-davidr avatar Jul 25 '19 21:07 gh-davidr

I can test but I have a Mac. So I think need to find something equivalent to Windows Scheduler

bmammon avatar Jul 26 '19 00:07 bmammon

Have you tested? You could contribute a Mac script to the GitHub project and instructions on how to schedule on Mac. Have a look at (https://smallbusiness.chron.com/schedule-automator-tasks-mac-os-x-39132.html) for some guidance

gh-davidr avatar Aug 01 '19 07:08 gh-davidr