Added a convenience constructor to the ScheduledTask that prevents creat...

...ing a taskfactory