Set command interval