core: allow task to be scheduled by date/time instead of only seconds.