📅  最后修改于: 2022-03-11 14:51:49.412000             🧑  作者: Mango
cd /var/www/sites/moodle/htdocs/
php /srv/moodle/admin/cli/maintenance.php --enable
git pull
php /srv/moodle/admin/cli/upgrade.php
php /srv/moodle/admin/cli/maintenance.php --disable