Open awlevin opened 6 years ago
Only checking seconds is invalid. Must also consider days!
exec_date objects have the following form: [datetime.timedelta(-3, 85494, 367397), datetime.timedelta(-2, 85494, 367397), datetime.timedelta(-1, 85494, 367397), datetime.timedelta(0, 85494, 367397), datetime.timedelta(1, 85494, 367397)]
proposed solution: have the fired method, inquire_participants(), start a new timer that will fire the next day, each time the method is called
inquire_participants()
Only checking seconds is invalid. Must also consider days!
exec_date objects have the following form: [datetime.timedelta(-3, 85494, 367397), datetime.timedelta(-2, 85494, 367397), datetime.timedelta(-1, 85494, 367397), datetime.timedelta(0, 85494, 367397), datetime.timedelta(1, 85494, 367397)]