while (1) { set timer; get_data_taking_55_seconds_give_or_take_a_few; sleep_until_timer_says_60_seconds; write_log_file; }