As we want to delete to oldest entry, we can use begin() instead of upper_bound(0)
[bpdyndnsd] / scripts /
drwxr-xr-x   ..
-rwxr-xr-x 2838 bpdyndnsd