I assume that this script is going to be executed daily, then I would add a little bit of margin and put something more than a day to prevent some entries to go unnoticed