Skip to content

Blog | Unix

Notes

  • Home
  • htaccess
  • IPTV
  • RBL whitelist request
  • Sitemap
  • The famous IP address ranges
  • What is your WAN IP
  • Whois
  • Bash tricks
  • Contact Us

Category: Moodle

How to clear Moodle cache from command line

2031  admin  
April 21, 2021 at 5:21 pm

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… Read the rest

cmd, Moodle  clear cache, cli, command line, moodle  Leave a comment  

Tags

bash cache centos cmd command line cpanel crontab csf dns dovecot drupal drush exim firefox horde htaccess install iptables iptv Joomla linux mailman MariaDB media multisite my.cnf mysql password password reset port roundcube shell spamassassin ssh ssl ubuntu upgrade vi whmapi1 whmcs wordpress wp wp-cli wp-config.php xubuntu

Recent Posts

  • How to create a file of specific size using Linux command line
  • How to check bandwidth usage for user on cPanel serve from command line
  • How to change master domain on cPanel server from command line
  • How to generate Self-Signed SSL on cPanel server using command line
  • How to disable swap partition

Recent Comments

  • Chris R. on How to fix “421 Too many concurrent SMTP connections”
  • Dmitry on cPanel, WHMCS xml-api 404 error
  • Вася on How to access protect folder by apache HTTP Basic Authentication using cURL
  • Леся on How to access protect folder by apache HTTP Basic Authentication using cURL
  • Mike P. on Popular DNS resolvers

Categories

  • android
  • apache
  • atop
  • awstats
  • bashrc
  • cache
  • cagefs
  • Centos
  • centos 7
  • ClientExec
  • CloudLinux
  • cmd
  • command line
  • convert
  • Cpanel
  • crontab
  • csf
  • dns
  • dovecot
  • drupal
  • drush
  • epel
  • exim
  • ffmpeg
  • firefox
  • ftp
  • google
  • grep
  • horde
  • htaccess
  • html
  • IPTV
  • Javascript
  • Joomla
  • Laravel
  • Linux
  • magento
  • magento 2
  • mail
  • mailman
  • MediaWiki
  • Moodle
  • mySQL
  • nagios
  • nano
  • nc
  • netstat
  • nmap
  • Opencart
  • openvpn
  • OpenVZ
  • paypal
  • perl
  • PhpMyAdmin
  • pico
  • prestashop
  • proxy
  • python
  • roundcube
  • roxterm
  • rsa
  • rvsitebuilder
  • Scripts
  • sitepad
  • softaculous
  • spamassassin
  • ssh
  • ssl
  • systemctl
  • tcpdump
  • Tools
  • Ubuntu
  • Uncategorized
  • video
  • webmail
  • whmapi1
  • whmcs
  • WireGuard
  • wireshark
  • Wordpress
  • wp-cli
  • xubuntu
  • YouTube
  • yum
  • zen cart