fixed bug with weekly snapshot scheduling

DayOfWeek() was totally wrong!