Clear up Apache cache automaticaly

已完成 已发布的 7 年前 货到付款
已完成 货到付款

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.

阿帕奇 Linux

项目ID: #12171486

关于项目

7个方案 远程项目 活跃的7 年前

授予:

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 更多

$15 USD 在0天内
(61条评论)
5.0

有7名威客正在参与此工作的竞标,均价$38/小时

Namelessinterest

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

$30USD 在1天里
(306条评论)
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 更多

$88USD 在1天里
(10条评论)
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

$70USD 在1天里
(10条评论)
4.2
rambanstola

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

$14 USD 在0天内
(1条评论)
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 更多

$20 USD 在0天内
(0条评论)
0.0