remove offline dir if update from scratch
manage process.dir
manage fromtask and stop before/after