# SUMA: how to reuse scripts?

**URL:** https://forums.suse.com/t/suma-how-to-reuse-scripts/43484
**Category:** SUSE Multi Linux Manager
**Created:** [June 26, 2024, 8:13am UTC](https://forums.suse.com/t/suma-how-to-reuse-scripts/43484 "2024-06-26T08:13:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)
#### Post date: [June 26, 2024, 8:13am UTC](https://forums.suse.com/t/suma-how-to-reuse-scripts/43484/1 "2024-06-26T08:13:25Z")

</div>

Hi,  
I am running some testing of SuSE Manager with a Evaluation License.

Under System//Details/Remote Command  
I can add commands in a script to be executed on the salt client.  
I can add this script to an action chain.

Is there a way to save the script for later reuse?

What I want to do is this:  
During normal operation I want to update all of operating system, except of postgres db.  
So, on the ubuntu salt client, postgres packages are locked.  
In a second moment I want to update postgres packages, including stop services depending on postgres. After install, services should restart.

Of course, I can copy/paste the instructions in the remote command editor every time, but is there a way to save that script for later reuse?

Thanks, Igor
