Task Scheduler I just recent setup a task for CCLeaner to run daily with /AUTO augment that cleans and shut the program down. But I am wondering if possible to make task that will run the ccleaner.exe /auto task any time I close Firefox?
For that to happen you would require a program that would be watching the condition of the Firefox executable which would then invoke the ccleaner.exe /auto command when you close Firefox. May I ask why you are so interested in having the cache cleaned as soon as you are no longer using Firefox?
https://superuser.com/questions/615321/task-scheduler-event-when-an-application-ended There are ways to do this.
OK, not a program, a bat file then. Fine, be that way BTW: Nice I think the line " ccleaner.exe /auto " should be " start ccleaner.exe /auto " The bat file would then be Code: start /WAIT firefox.exe start ccleaner.exe /auto end @tsunami231 Paste the above code into a txt document, name and save the file. example: " Firefox auto clean.txt " < File name has no effect on function of code. Then rename the extension from .txt to .bat example " Firefox auto clean.txt " to "Firefox auto clean.bat " Run Bat file when you want to start Firefox. Crap cleaner will start as soon as Firefox is closed. BTW: You can also use Firefox in " Private Browsing " mode which has the following benefits: When you browse in a Private Window, Firefox does not save: visited pages cookies searches temporary files Firefox will save your: bookmarks downloads Private Browsing doesn’t make you anonymous on the Internet. Your employer or Internet service provider can still know what page you visit. Tracking Protection Some websites use trackers that can monitor your activity across the Internet. With Tracking Protection Firefox will block many trackers that can collect information about your browsing behavior.