Depending on what switches you are using you can do things like that with EEM and TCL scripts
I can not find a scenario where you want to do this other than you absolutely want to be sure that the configuration is saved.
You can use eem and tcl scripts to either time the wr so that it happens at a specific time fx 23:00 or at a specific event such as fx logging out, a hit on a specific row in an access-list and so on.
The EEM and TCL scripts makes many tasks possible that was not possible before.
Hope This Helps
Andy, I'm not sure by your question if you were looking for free software or simply software that does this. Solarwinds NCM is a great tool for pushing scripts to network devices. Very useful tool, however, it will take some investment to deploy, but with the modules available, it's a great investment to automate several operational tasks throughout your network environment. Obviously it's not used for pushing scripts to your devices, it does a whole lot more than that. You can get a 30 day free trial of the full version to see if it's something that would be beneficial to you.