idempotentscript
nounUK /ˌaɪdəmˈpoʊtənt skrɪpt/
US /ˌaɪdəmˈpoʊtənt skrɪpt/
A script that does the same thing no matter how many times you run it.
She ran the idempotentscript twice, and the files stayed exactly the same.
RELATED WORDS
OTHER MEANINGS
2. A small program whose repeated execution leaves the system in an unchanged state.
The cleanup idempotentscript removed leftover files without touching anything else.
3. A setup routine that can be safely applied again after a failure.
After the crash, the team reran the idempotentscript to restore the server settings.
4. A coding pattern where running the same instructions many times gives one predictable result.
He wrote an idempotentscript so new laptops could be configured the same way every time.