Home » Infrastructure » Unix » Quarterly delete files older than 3 months (Oracle 10.0.2)
Quarterly delete files older than 3 months [message #453299] Wed, 28 April 2010 03:20 Go to next message
bongalegre
Messages: 2
Registered: April 2010
Location: Singapore
Junior Member

Hi Guys,

I really hope you could help me I am just new in Oracle but my boss is forcing me to do scripting he said everything is available online. I tried to create but he said it was wrong maybe you can give me a helping hand.

This will be my crontab entry
#!/bin/sh
#* * 1 1,4,7,10 * /root/bin/OLP-Cleanup.sh

And this will be script run by OLP-Cleanup.sh
find /root/archive -mtime +90 -exec rm {} \;

He said this wil delete all the files in Archive?
Any suggestions? Thanks!

/bong
Re: Quarterly delete files older than 3 months [message #453302 is a reply to message #453299] Wed, 28 April 2010 03:34 Go to previous message
Michel Cadot
Messages: 58959
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This is clearly not related to neither Oracle neither SQL.
In addition, your boss is right, this has been posted many times, just search for it.

Topic is locked.

Regards
Michel

[Updated on: Wed, 28 April 2010 03:39]

Report message to a moderator

Previous Topic: Oracle 11G - How to manage listener log files
Next Topic: Data getting truncated while passing a data of type Number(3,2) from SHELL script to ORACLE Proc
Goto Forum:
  


Current Time: Tue Sep 02 15:49:02 CDT 2014

Total time taken to generate the page: 0.08612 seconds