moodle admin cli

96

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

Comments

Submit
0 Comments