Execute commands at regular intervals.
Added a logger for people who have problems in their configuration