Change periodic task period ms