Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Suggestions

Post new topic   Reply to topic
Cleaup /tmp and Orphans Arquives
View previous topic :: View next topic  
Author Message
vivanguarda
Member


Joined: 01 May 2009
Posts: 98

PostPosted: Sat Jan 29, 2011 2:04 pm    Post subject: Cleaup /tmp and Orphans Arquives Reply with quote

Good morning!!! Are there cleanup scripts to use on system? What do you think about running these in rc.local?

if [ -x/usr/local/bin/deletefiles ];then
/usr/local/bin/deletefiles start
fi

if [ -x/usr/local/sbin/cleanup ];then
/usr/local/sbin/cleanup start
fi


[url]
http://humanreadable.nfshost.com/files/deletefiles
http://humanreadable.nfshost.com/files/cleanup[/url]
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Jan 29, 2011 6:04 pm    Post subject: Reply with quote

Well, those are something more than cleanup scripts...
You can use them, but it's more appropriate to use them at shutdown in rc.local_shutdown.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vivanguarda
Member


Joined: 01 May 2009
Posts: 98

PostPosted: Sun Jan 30, 2011 3:25 am    Post subject: Reply with quote

That's all!
Then I 'll make an /etc/rc.d/rc.local_shutdown!

Thanks!
Back to top
View user's profile Send private message
jose89
Junior Member


Joined: 07 Feb 2011
Posts: 5

PostPosted: Fri Feb 11, 2011 7:51 am    Post subject: Reply with quote

Hey, I think this is a very good tip that I learnt from here. I am looking forward to applying and checking it out. Anyway can you post what happened when you did this change in the clean up script? I am hoping to see an answer. Thanks in advance. Cool
_________________
hr services
Back to top
View user's profile Send private message
vivanguarda
Member


Joined: 01 May 2009
Posts: 98

PostPosted: Sat Feb 12, 2011 4:16 pm    Post subject: Reply with quote

I didn't saw changes on the system. I think that there are a minimal of 3 days to delete files, is it???? But, now I'm using a rc.local_shutdown and power off is slower. I think it's working!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Suggestions All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional