If you're using WinXP do it via a batch file, really simple actually.
Listed in the code below is an example batch file to do it. Just Copy and Paste the code into an empty Notepad window and save as for example (including the quotes):
"CCleaner then Shutdown.bat"
@echo off"%ProgramFiles%\CCleaner\ccleaner.exe" /AUTOshutdown -s -t 30 -c "System Shutdown"echo --------------------------------------------------echo To abort shutdown:echo Click this open Window and then press any key onecho the keyboard.echo.echo To allow shutdown:echo Don't press anything on the keyboard.echo --------------------------------------------------pauseshutdown -aclsexit
To change the shutdown parameters such as the time, comment, etc., view the help file via a Command Prompt by typing in: shutdown /?
I keep meaning to sort out a really simple script that will run CC with the /AUTO switch, but I run it (with /AUTO) from a desktop shortcut and don't feel the need to have it fully automated right now.
if anyone else sorts out the scripts, that would be great to see posted here