Add support for hourly logrotate jobs

This takes the idea from #10 and adds some tests around it.