View Single Post
kevloral's Avatar
Posts: 134 | Thanked: 247 times | Joined on Sep 2009 @ Spain, EU
#72
Originally Posted by JorgeFX View Post
Well, I normally use it only when I feel that the OS is getting slow but in general YES, you only have to add an event with this command:

sudo sh OptimizeN900

And you can setup this to run every day overnight. Please, try it and tell us your experiences. Thanks!
If you want to use it that way, it may be easier to use the suid bit. Type this as root:

Code:
chown root /opt/scripts/OptimizeN900
chmod 4755 /opt/scripts/OptimizeN900
After that, the script will always be executed as root just by typing this:

Code:
/opt/scripts/OptimizeN900
Greetings.

Last edited by kevloral; 2010-07-22 at 16:35.
 

The Following 4 Users Say Thank You to kevloral For This Useful Post: