У меня есть функция:
Код: Выделить всё
if timenow == 10Pm : -> do something
elif timenow is 5min before 10pm than wait for the 10 pm and then execute the function
elif timenow is just after 10pm then directly execute the function
or
if timenow == 11Pm : -> do something
elif timenow is 5min before 11pm than wait for the 10 pm and then execute the function
elif timenow is just after 11pm then directly execute the function
Но проблема в том, что если я все настрою, произойдет следующая ошибка:
если я настрою функцию на выполнение после 22:00, то я не смогу реализовать ее до 23:00.
У кого-нибудь есть концепция?>
Подробнее здесь: https://stackoverflow.com/questions/705 ... -execution
Мобильная версия