tutorial - Execute command at regular intervals