register minute and second tasks