📜  moodle update cli - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:49.412000             🧑  作者: Mango

代码示例1
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