Script that holds a timestamp in a database, filters through all years, and skips day directories with a dated timestamp