logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Luanching 'htcacheclean' on Apache startup
Author
GadiK



Joined: 14 Jul 2010
Posts: 14

PostPosted: Wed 21 Jul '10 17:17    Post subject: Luanching 'htcacheclean' on Apache startup Reply with quote

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

PostPosted: Thu 22 Jul '10 10:05    Post subject: Reply with quote

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

PostPosted: Thu 22 Jul '10 10:17    Post subject: Reply with quote

Just wanted to know all my options.

Thank you.
Back to top


Reply to topic   Topic: Luanching 'htcacheclean' on Apache startup View previous topic :: View next topic
Post new topic   Forum Index -> Apache