public function set_execution($execution, $executiontime = 0)
 {
     $this->log('setting controller execution', backup::LOG_DEBUG);
     // TODO: Check valid execution mode
     // TODO: Check time in future
     // TODO: Check time = 0 if inmediate
     $this->execution = $execution;
     $this->executiontime = $executiontime;
     // Default destination chain (based on type/mode/execution)
     $this->destination = backup_factory::get_destination_chain($this->type, $this->id, $this->mode, $this->execution);
     // Default logger chain (based on interactive/execution)
     $this->logger = backup_factory::get_logger_chain($this->interactive, $this->execution, $this->backupid);
 }