Follow Savance Enterprise on FacebookFollow Savance Enterprise on LinkedinFollow Savance Enterprise on Twitter
Take Your Business to New Heights with Savance Enterprise

Savance Enterprise Support

Main

Knowledgebase: Array
Clear Out OSO & OUT Files
Posted by Michael Renock on 27 August 2014 04:26 PM

When converting quotes to orders in the Savance Enterprise Array application, you may notice that OHXXXXXX.oso, ODXXXXXX.oso, & OHXXXXXX.out files will start to accumulate in the /data13/savance directory.  These are created during order conversion within the application.

 

 

 

 

These files can be safely deleted.  A shell script can be created to take care of this for you.  In a text editor, create a file named oso_cleanup.sh.  Save it to the /data13/savance directory.  Here are the contents of the script:

 

 

You will want to set the permissions for the script and make sure it is executable, which can be done with the chmod 777 oso_cleanup.sh command.  You may also want to change the user and group with the chown prog:users oso_cleanup.sh command.

 

 

You can automate the execution of this script with a cron job.  Use the command crontab -e to configure it.  You may need to be logged in as root.  In the example below, the script is set to run on a daily basis at 8 PM, one hour before the Savance nightly script is set to run.

 


Savance | The Company

At Savance, we set ourselves apart from our competition by keeping it personal. We actively request feedback, know our customers by first name, integrate their ideas into our product, and measure our success based on their happiness. The way businesses used to be run.

NAED American Lighting Association IMARK Plumbing STAFDA HARDI Blue Hawk HVACR Cooperative

Contact Us