Useful shortcuts for vi editor

Wednesday 22 April 2015

How to make a schedule for disk cleanup automatically?

Please follow the steps;

1st step: 
Define a disk cleanup profile.
e.g. 
cleanmgr /sagerset:1

2nd step:
Run task scheduler
taskschd.msc

3rd step:
Define a task schedule as designed profile by importing "cleanmgr /sagerun:1" to Actions
e.g.
task generates first-day of each month at 01:00 pm