day/night scheduler works on local