Support Suite
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.
| |
|