We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to add cron in vesta to clear server cache? Topic is solved
How to add cron in vesta to clear server cache?
How I can add cron job in vesta to clear daily server's buffers/cache without interrupting any process or service ?
plus, In other job clear swap cache ?
plus, In other job clear swap cache ?
Re: How to add cron in vesta to clear server cache?
you could add it in terminal:
or add it in vesta admin panel.
Code: Select all
crontab -l
0 * * * * sync; echo 3 > /proc/sys/vm/drop_caches
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: How to add cron in vesta to clear server cache?
I suggest you to not do this!
https://www.kernel.org/doc/Documentation/sysctl/vm.txt (Read section: drop_caches)
http://www.linuxatemyram.com/
https://www.kernel.org/doc/Documentation/sysctl/vm.txt (Read section: drop_caches)
http://www.linuxatemyram.com/
-
- Posts: 2
- Joined: Mon Nov 14, 2016 7:47 am
Re: How to add cron in vesta to clear server cache?
I agree with you because it will definitely create loading issues!tjebbeke wrote:I suggest you to not do this!
subchorionichemorrhagehealth care tippoikilothermia[/url]hyperthymesia
Last edited by susan albert on Wed Mar 15, 2017 12:03 am, edited 3 times in total.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: How to add cron in vesta to clear server cache?
you should not do this on daily basis...
Re: How to add cron in vesta to clear server cache?
Why? I see some maniacs do this every hour ;-)mehargags wrote:you should not do this on daily basis...