diff --git a/cmd/main.go b/cmd/main.go index 14be7b5..ed02280 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -57,15 +57,6 @@ func main() { numberOfDays := int(differenceTime.Hours() / 24) log.Printf("current: %v requested: %v", currentTime, requestedTime) - - // do not proceed if the current time is way past the schedule - // reminder - if currentTime.After(requestedTime) { - // nothing to do, continue looking for - // more schedules - continue - } - log.Printf("difference: %v configured: %v", numberOfDays, config.BufferWindowDays) // found a case where action is needed