public void checkNewTasks(){
        if(incomingTasks.isEmpty()) {
            return;
        }
        Iterator<Task> it = incomingTasks.iterator();
        while(it.hasNext()){
            Task task = it.next();
            if(task.getDate().after(new Date(System.currentTimeMillis()))){
                executoryCycle.add(task);
            } else {
                idleTasks.add(task);
            }
            it.remove();
        }
    }