Moodle admin CLI
php admin/cli/build_theme_css.php --themes=boost
Tender Turkey
php admin/cli/build_theme_css.php --themes=boost
$ sudo -u apache /usr/bin/php admin/cli/maintenance.php --disable
$ cd /var/www/sites/moodle/moodledata/
$ echo '<h1>Sorry, maintenance in progress</h1>' > climaintenance.html
php admin/cli/kill_all_sessions.php
$ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable
$ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enablelater=10
php admin/cli/purge_caches.php