Friday, March 11, 2011

Came across something cool today. I am a fan of CCleaner. If you are like me, a lot of you buddies see you as some kind of computer geek and so when they have a problem they call. Well most of the time is simply because their computer is running slow and they are running about four anti-virus programs and only one is legit. Then usually I like to use CCleaner to clean out the rest of the garbage that users normally accumulate. So today I was thinking on my own machine, would it be cool if I could just make CCleaner run daily to keep all the junk off my own machine. Well you can do exactly that. CCleaner has command line arguments as can be seen at:

http://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters

With the command line arguments you can setup a scheduled task to run CCleaner anytime or as often as you like. Check out this blog out on How-To Geek for setting it up.

Update 3/14/2011:
Looking into the Task Scheduler history I discovered errors that my task had failed to launch. Error value was 2147943645. As the task runs normally manually, I think that what may have been the cause was that I had the check box for "Run only when user is logged on" selected. Changed to "Run whether user is logged on or not."