How to clear Moodle cache from command line

Login an account as an user:

su user

Enter Moodle root folder and run as the following:

php admin/cli/purge_caches.php

 

Source: https://docs.moodle.org/310/en/Administration_via_command_line#Purge_caches

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *