check lunar window at each update, not only at midnight