Answer:
Both are correct.
Step-by-step explanation:
The first sentence states that by an undefined time you yourself will have performed a certain task.
The second sentence states that you are undertaking to ensure that the task is performed, even if you don't do it yourself.