I have the following python code in main which runs my program each 5 seconds
if datetime.strptime(\'23:59\', "%H:%M") > now > datetime.strpti