added scheduledTaskEnabler to manage the execution of the task when
runing as node