1. A method for task supervision, wherein for a plurality of tasks the following step is performed for each task: scheduling the task for processing, logging the task scheduling by storing a task identifier in a log memory, said task identifier identifying the scheduled task and being assigned to the scheduled task, wherein the task identifiers stored in the log memory form a task history pattern of scheduled tasks: evaluating the task history pattern to determine whether a failure appears in the task-based data processing and taking at least one safety measure if the evaluation indicates a failure.