You schedule by typing a command line. It's easist to schedule anything and then edit the resulting job with the programs you want.
So add a new task and choose any program. Finish the wizard, right click the new job - Properties and replace the program with
cleanmgr /sagerun:1
Repeat above steps and replace with Defrag c:
The first is Disk Cleanup and the second is Defrag for scheduling (different to the manual defragger).
You don't need to run chkdsk - it will run if needed by itself.
Before running diskcleanup the first time you need to type in Start - Run
cleanmgr /sageset:1
and set the options it will use when run in scheduler.
You need to enter an admin account name and the account chosen to run these tasks needs to have a password. Else it will refuse to run them. Assign a password to your admin account and use that in TS. You don't need to logon in the account used to run the tasks. If you run them in a different account you won't see the programs run, but they'll be running.