Force update && upgrade 4 multiple sites cron

Hello,
i have a simple bash to update/upgrade 4 all sites:

for i in find . -type d
do
cd ~/domains/$i/public_html && bin/gpm update && bin/gpm selfupgrade
done

but every time I have to confirm “y” to continue. Is there a way to force update and upgrade grav without confirming to continue processes

thx in advance

You should run selfupgrade before update because sometimes the new plugins will require the new version of Grav in order to install.

According to the source code (which you should also see if you type bin/gpm help selfupgrade), there appears to be an --all-yes option that would do what you’re looking for.

fantastic, works like charm. thank you very much @Perlkönig