calculate scheduled time on given time not time.Now()
Merge pull request #2 from whatupdave/fix_scheduler

calculate scheduled time on given time not time.Now()