------ cut ---------------
#!/bin/sh
sync; echo 3 > /proc/sys/vm/drop_caches
-------------------------
then chmod 755 the script.. test first before put it in cron
#free -m ( to check before and after running the script )
this cron will run once on every 30 minutes
*/30 * * * * path-to-your-script
No comments:
Post a Comment