Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Luanching 'htcacheclean' on Apache startup |
|
Author |
|
GadiK
Joined: 14 Jul 2010 Posts: 14
|
Posted: Wed 21 Jul '10 17:17 Post subject: Luanching 'htcacheclean' on Apache startup |
|
|
Hello.
Following my previous thread here, I want to use 'htcacheclean' to maintain my cache folder.
I was wondering if there is a way to make Apache launch 'htcacheclean.exe' upon its' startup. Perhaps some directive in httpd.conf or something like that.
Thank you,
Gadi K |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 22 Jul '10 10:05 Post subject: |
|
|
If you run apache as service there is the option to create a batch files that starts apache and htcacheclean.
On XP and 2003 there is the option to have that batch file as a service.
example service.bat
Code: |
C:\Apache22\bin\htcacheclean.exe -parameter1 -parameter ....
C:\Apache22\bin\httpd.exe -k runservice
|
But why don't run the htcacheclean with the scheduler or as daemon / service? |
|
Back to top |
|
GadiK
Joined: 14 Jul 2010 Posts: 14
|
Posted: Thu 22 Jul '10 10:17 Post subject: |
|
|
Just wanted to know all my options.
Thank you. |
|
Back to top |
|
|
|
|
|
|