# every day at 8:00: add 1 to {day} if {day} is 7: add 1 to {cycle} if {cycle} is 9: set {cycle} to 1