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

.bashrc bash cache centos cmd command line cpanel crontab csf dovecot drupal drush error exim firefox firewall ftp horde htaccess install iptv Joomla linux mailman MariaDB multisite mysql port roundcube shell softaculous spamassassin spamd ssh ssl ubuntu upgrade vi vim whmapi1 wordpress wp wp-cli wp-config.php xubuntu

Recent Posts

  • How to fix Softaculous “ERROR LOADING DATAChild failed to make LIVEAPI connection to cPanel.”
  • How to fix error starting mailman on cPanel server
  • How to fix ownership of /etc folder
  • How to fix mail routing by rebuilding /etc/localdomains and /etc/remotedomains
  • How to reset max defers limit on cPanel server

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