Event Studio runs the event on a schedule and will trigger an action based on comparison of the last two runs of the query. If the results change, the action is fired. (OK, you can set it to run every time, too...)
Craft your query such that the logic causes a new row to appear at the appropriate time.