Symantec Privileged Access Management

 View Only

pim_delete_old_jboss_logs.sh.tar.gz 

Nov 19, 2015 05:34 PM

The attached bash script, by default, keeps the last 28 (this can be modified) server.log.yyyy-mm-dd files from the jboss log folder. The rest are deleted. The aim is for this script to be scheduled to run once per day using cron.

 

For context see the windows batch file version which does the same thing:

 

https://communities.ca.com/docs/DOC-231163086

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
gz file
pim_delete_old_jboss_logs.sh.tar.gz   401 B   1 version
Uploaded - May 29, 2019

Tags and Keywords

Related Entries and Links

No Related Resource entered.