PL/SQL (MOSC)

MOSC Banner

script to purge log files

edited Jul 26, 2009 11:57PM in PL/SQL (MOSC) 9 commentsAnswered
 Hi All,

Please find the follwoing task need to create two sepearet scripts for the following 2 cases.

Currently there is no cleaning of logs or flat files.

Logs need to be cleaned when they are older than x months.

After y months the archive folder for flat files needs to be cleaned.

The number of months (x and y) needs to be known when the technical design starts.

The error folder never has to be cleaned as it is assumed it will be cleaned manually after having fixed the problem.

A script (purge_logs.sh and purge_flat_files.sh) will be delivered taking care of this cleaning. This script will have to be scheduled in the appropriate way.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center