Guru3D.com Forums

Go Back   Guru3D.com Forums > General > Operating Systems
Operating Systems Is Windows 8.1 giving you a hard time ? Wanna try out Windows 10 ?



Reply
 
Thread Tools Display Modes
Task Scheduler question
Old
  (#1)
tsunami231
Ancient Guru
 
tsunami231's Avatar
 
Videocard: EVGA 660gtx sig2
Processor: i7 6700k NH-D14
Mainboard: Asrock z170 Extreme 4
Memory: Corsair LPX 2400mhz 16gb
Soundcard: Realtek HD Audio
PSU: Antec HCG 750m
Default Task Scheduler question - 05-18-2017, 00:10 | posts: 7,367 | Location: USA

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?
   
Reply With Quote
 
Old
  (#2)
Watcher
Maha Guru
 
Watcher's Avatar
 
Videocard: Gigabyte Windforce R9 380
Processor: FX-8350@4.8 H80iV2 Corsai
Mainboard: ASUS M5A99FX PRO R2.0
Memory: G.SKILL RIPJAWS 8GB @1866
Soundcard: On board Realtek
PSU: OCZ StealthXStream 2 600W
Default 05-18-2017, 03:34 | posts: 2,334 | Location: Canada

Quote:
Originally Posted by tsunami231 View Post
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?
   
Reply With Quote
Old
  (#3)
RandomDriverDev
Banned
 
Videocard: 1080 / 8GB and 1060 / 6GB
Processor: Xeon
Mainboard:
Memory:
Soundcard:
PSU: SeaSonic
Default 05-18-2017, 03:52 | posts: 111

https://superuser.com/questions/6153...lication-ended

There are ways to do this.
   
Reply With Quote
Old
  (#4)
mbk1969
Ancient Guru
 
mbk1969's Avatar
 
Videocard: GeForce GTX 970
Processor: I7-4930
Mainboard: Asus p9x79
Memory: G Skill RipjawZ, 16GB
Soundcard: Onboard + FiiO E17
PSU: 1000 W
Default 05-18-2017, 11:25 | posts: 3,452 | Location: Moscow, Russia

cmd-file:
Code:
start /WAIT firefox.exe
ccleaner.exe /auto
   
Reply With Quote
 
Old
  (#5)
tsunami231
Ancient Guru
 
tsunami231's Avatar
 
Videocard: EVGA 660gtx sig2
Processor: i7 6700k NH-D14
Mainboard: Asrock z170 Extreme 4
Memory: Corsair LPX 2400mhz 16gb
Soundcard: Realtek HD Audio
PSU: Antec HCG 750m
Default 05-18-2017, 18:52 | posts: 7,367 | Location: USA

Quote:
Originally Posted by Watcher View Post
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?

habbits, ocd take your pick
   
Reply With Quote
Old
  (#6)
Watcher
Maha Guru
 
Watcher's Avatar
 
Videocard: Gigabyte Windforce R9 380
Processor: FX-8350@4.8 H80iV2 Corsai
Mainboard: ASUS M5A99FX PRO R2.0
Memory: G.SKILL RIPJAWS 8GB @1866
Soundcard: On board Realtek
PSU: OCZ StealthXStream 2 600W
Default 05-19-2017, 00:15 | posts: 2,334 | Location: Canada

Quote:
Originally Posted by mbk1969 View Post
cmd-file:
Code:
start /WAIT firefox.exe
ccleaner.exe /auto
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.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
Copyright (c) 1995-2014, All Rights Reserved. The Guru of 3D, the Hardware Guru, and 3D Guru are trademarks owned by Hilbert Hagedoorn.