Moodle Server Storage Issue? Clean Cache Using Cron on AWS (Step-by-Step Guide)
Facing Moodle server storage issues? In this video, I show how to clean Moodle cache automatically using cron jobs on an AWS EC2 server. If your Moodle instance is growing in size every day due to cache, temp files, or sessions, this tutorial will help you fix it safely and efficiently. Learn how to automate cleanup using cron and prevent disk space issues without affecting your Moodle performance. In this video, you will learn: How Moodle cache, temp, and sessions grow over time How to clean Moodle cache safely using Linux commands How to schedule automatic cleanup using cron jobs Best practices to prevent storage issues on AWS servers Real-world example of fixing disk space issues This is perfect for Moodle administrators, DevOps engineers, and anyone managing AWS EC2 servers. π Commands: find /var/www/moodledata/cache -type f -delete find /var/www/moodledata/localcache -type f -delete find /var/www/moodledata/temp -type f -mtime +1 -delete find /var/www/moodledata/sessions -type f -mtime +1 -delete π Use Case Fix Moodle disk space issues Optimize server performance Automate maintenance tasks π Donβt forget Like π | Share π | Subscribe π for more AWS & Moodle tutorials!
Download
0 formatsNo download links available.