Update logger.sh

Adding the ability to kill of previous hour when the cron runs.