tick_setup_periodic