Executing a task consists in calling the method run on that task, and setting the task execution state. The following diagram is a summary of the process:
The method post_run can be used to check if the files have been produced, it must throw an OSError if the task has not completed properly.