Creating a maintenance script; I need everyone's help

Bruce Ferrell bferrell at baywinds.org
Thu Mar 22 04:39:23 UTC 2007



Mustafa Ozkaynak wrote:
> The email below if the copy of the posting I post to the ubuntu forum:
> The link is: http://www.ubuntuforums.org/showthread.php?t=390264 
> <http://www.ubuntuforums.org/showthread.php?t=390264>
> 
> Hello,
> I would like to create a script (probably a bash script but may need to 
> use some python)
> that will maintain my ubuntu system.
> I am a beginner bash and python programmer (I have lots of Visual basic 
> and Pascal experince though).
> This script will run periodically and perform some maintain jobs.
> This is a project I take very serious and also a good learning 
> opportunity for me.
> So, my question is what are the periodical maintenance tasks that should 
> be carried out by Ubuntu?
> currently I have two tasks:
> 
> cleaning the cache
> Quote:
> sudo apt-get clean
> 
> cleaning the recycle-bin
> Quote:
> rm -rf ~/.Trash/*
> 
> 
> what other things should be done to the system periodically?(if you know 
> terminal command of that please let me know too)
> Once I collect all ideas I will start coding it.
> 
> I will share the final code and all upgrades in this forum.
> 
> 
> Thanks in advance for your help....
>   <http://www.ubuntuforums.org/editpost.php?do=editpost&p=2334124>
> -- 
> Mustafa Ozkaynak
> 
>  ><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>¸.
> `·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>
> 


Have a look in /etc/cron.daily and see what those scripts do already




More information about the ubuntu-users mailing list