I often write a script even if I only have to do something twice. In this case, the point is not to save time, it's to be secure in the knowledge that I did the thing in exactly the same way both times, because it was the same script that did it both times.
(And then it saves time anyway, because it turns out I had to do the thing 20 more times after all.)