# run operation # get timestamp from file # add 60 * 60 * 24 to it # write new timestamp to file # subtract current seconds from timestamp # sleep for result seconds