fact-project / shifthelper

So we can sleep at night.
4 stars 0 forks source link

Let's use the startup_checklist to generate a call #162

Open dneise opened 7 years ago

dneise commented 7 years ago

The last shifter did not startup main.js ~20minutes before the scheduled startup, but about 3 minutes later, because there was something urgent to do.

I think we should generate a call, when the startup checklist is not filled until 20minutes before the scheduled startup, this might have reminded him early enough ...

jebuss commented 5 years ago

Last night I forgot that I was on shift. The shift helper called me but at the time he called me the scheduled startup time was already passed. So I up this issue

maxnoe commented 5 years ago

If that happend, it's not correct. The shifthelper should have called you ten minutes before the scheduled startup.

maxnoe commented 5 years ago

We need to investigate what happend here, because the startup was scheduled for 19:08, but the shifthelper only called at 19:10. It should have called as early as 18:58.

maxnoe commented 5 years ago

There was no error in the database cloning, it was done every minute.

maxnoe commented 5 years ago

Checking the code again, this is not the case. Should we just add a - timedelta(minutes=15) to is_shift_at_the_moment? Then it would call fifteen minutes before startup if main.js is not running.