Clear up Apache cache automaticaly

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

A few months ago my Apache server stopped with error "No space left on device – running out of Inodes". I found what was causing that with the solution to resolve this issue.

Now, every 2-3 weeks using SSH I manually clean up Apache cache (via SSH):

$ df -ih

$ /etc/init.d/httpd stop

$ rm -rf /var/cache/mod_proxy/*

$ /etc/init.d/httpd start

I need to clean up Apache cache automatically.

Setup a scheduled cron job in Apache or something like this.

Can you do that? Please let me know if you have any Qs.

Thank you.

Apache Linux

Project ID: #12171486

About the project

7 proposals Remote project Active 7 years ago

Awarded to:

neosaransh

Hello, Greetings. Hope you are doing well. I am expertise in cloud solution of AWS, Openstack, Rackspace, Google Cloud, Azure etc. I work as cloud solution architect. I am experienced in server migration with Linux ser More

$15 USD in 0 days
(61 Reviews)
5.0

7 freelancers are bidding on average $38 for this job

Namelessinterest

Hello! I have expreince in server administration and will be very happy to setup cron what will automatically clean up the cache. THnask

$30 USD in 1 day
(306 Reviews)
6.5
ausprofreelancer

Hello I can help you to create a scheduled shell script to cleanup the cache files and restart Apache gracefully, so your site visitors do not have their connections dropped. If you would like to send through addit More

$88 USD in 1 day
(10 Reviews)
4.5
rexzetsolutions

if you can send me ssh access, i can set the time so after that time cache will be automatically cleaned, i am red hat certified linux admin and setup such things lot of times in my career so far yet

$70 USD in 1 day
(10 Reviews)
4.2
rambanstola

Hi i can set up a bash script that does this job automatically

$14 USD in 0 days
(1 Review)
1.8
CTVNEWS24

Hello Mate! I can start your project to Clear up Apache cache automaticaly now :) I am Ubuntu 16.04 LTS Xenial Xerus system admin. I will give you 3 days free service when my job is done with best review. come on li More

$20 USD in 0 days
(0 Reviews)
0.0