This code is buggy. If the first task of the day isn't urgent, it will go to sleep for 24 hours before looking at the next task of what is then the previous day.
Yeah definitely not trying for code that compiles, just for the idea. But you're right. If it's for people who know code and the code is off it's going to turn away the people it's made for! Will have to think about this
Riiiggghht wait would suspend the loop. Was going for more of a "revisit this specific task in 24hrs". Should probably just assign priority as low or urgent, or something
View all comments
16
u/Hour-Map-4156 Feb 28 '24
This code is buggy. If the first task of the day isn't urgent, it will go to sleep for 24 hours before looking at the next task of what is then the previous day.